Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8383/0.8383, allocations: 120.4 MB / 140.1 MB, free: 44 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.0005657, allocations: 19.97 kB / 217.7 MB, free: 13.03 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05944/0.06001, allocations: 33.37 MB / 251.1 MB, free: 11.6 MB / 238.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.752/1.812, allocations: 254 MB / 0.4932 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2206/2.032, allocations: 167.1 MB / 0.6564 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/2.032, allocations: 11.88 kB / 0.6564 GB, free: 7.461 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:34:3-35:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:36:3-37:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001521/2.033, allocations: 40.28 kB / 0.6564 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003412/2.033, allocations: 123 kB / 0.6566 GB, free: 7.301 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.04311/2.076, allocations: 12.26 MB / 0.6685 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009528/2.077, allocations: 402.9 kB / 0.6689 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/2.077, allocations: 168.9 kB / 0.6691 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/2.078, allocations: 187.3 kB / 0.6693 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/2.078, allocations: 151.3 kB / 0.6694 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/2.078, allocations: 36 kB / 0.6694 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3482/2.427, allocations: 19.6 MB / 0.6886 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/2.427, allocations: 85.78 kB / 0.6887 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/2.427, allocations: 163 kB / 0.6888 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02212/2.449, allocations: 10.4 MB / 0.699 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/2.449, allocations: 0.6875 kB / 0.699 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.903e-06/2.449, allocations: 0 / 0.699 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.015e-05/2.449, allocations: 1.25 kB / 0.699 GB, free: 13.12 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.006022/2.455, allocations: 1.904 MB / 0.7008 GB, free: 12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/2.455, allocations: 10.78 kB / 0.7008 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/2.455, allocations: 48.06 kB / 0.7009 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/2.456, allocations: 258.4 kB / 0.7011 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/2.456, allocations: 25.12 kB / 0.7012 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/2.456, allocations: 37.94 kB / 0.7012 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/2.456, allocations: 406 kB / 0.7016 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/2.456, allocations: 2.688 kB / 0.7016 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/2.456, allocations: 13.28 kB / 0.7016 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/2.456, allocations: 11.19 kB / 0.7016 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/2.457, allocations: 248.1 kB / 0.7018 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/2.464, allocations: 3.195 MB / 0.705 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/2.464, allocations: 76.67 kB / 0.705 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/2.464, allocations: 22.98 kB / 0.7051 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3098/2.774, allocations: 88.71 MB / 0.7917 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/2.774, allocations: 38.5 kB / 0.7917 GB, free: 5.84 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/2.774, allocations: 0 / 0.7917 GB, free: 5.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=7): time 0.0007639/2.774, allocations: 178.8 kB / 0.7919 GB, free: 5.684 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/2.774, allocations: 80.58 kB / 0.792 GB, free: 5.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/2.775, allocations: 309.9 kB / 0.7923 GB, free: 5.336 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/2.775, allocations: 30.91 kB / 0.7923 GB, free: 5.301 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/2.775, allocations: 242.3 kB / 0.7925 GB, free: 5.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/2.775, allocations: 30.78 kB / 0.7926 GB, free: 5.066 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/2.775, allocations: 70.03 kB / 0.7926 GB, free: 5.012 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001605/2.775, allocations: 329.6 kB / 0.7929 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/2.775, allocations: 42.2 kB / 0.793 GB, free: 4.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/2.776, allocations: 196.8 kB / 0.7932 GB, free: 4.441 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/2.776, allocations: 202.4 kB / 0.7934 GB, free: 4.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/2.776, allocations: 4 kB / 0.7934 GB, free: 4.246 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005589/2.777, allocations: 281.4 kB / 0.7936 GB, free: 4.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/2.777, allocations: 7.984 kB / 0.7936 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.777, allocations: 4 kB / 0.7937 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/2.778, allocations: 107.8 kB / 0.7938 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/2.778, allocations: 54.81 kB / 0.7938 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000525/2.778, allocations: 0.5658 MB / 0.7944 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/2.778, allocations: 31.45 kB / 0.7944 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/2.779, allocations: 18.53 kB / 0.7944 GB, free: 3.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001746/2.779, allocations: 153.2 kB / 0.7946 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/2.779, allocations: 27.81 kB / 0.7946 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/2.779, allocations: 170.2 kB / 0.7947 GB, free: 2.957 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/2.779, allocations: 7.938 kB / 0.7948 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/2.779, allocations: 4 kB / 0.7948 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/2.779, allocations: 0 / 0.7948 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/2.78, allocations: 222.3 kB / 0.795 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/2.78, allocations: 3.844 kB / 0.795 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/2.78, allocations: 7.984 kB / 0.795 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005113/2.78, allocations: 75.78 kB / 0.795 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/2.78, allocations: 4 kB / 0.7951 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005124/2.781, allocations: 0.5744 MB / 0.7956 GB, free: 2.082 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.781, allocations: 0.8594 kB / 0.7956 GB, free: 2.082 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/2.781, allocations: 164.4 kB / 0.7958 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/2.781, allocations: 46.16 kB / 0.7958 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/2.781, allocations: 0 / 0.7958 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/2.781, allocations: 11.05 kB / 0.7958 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/2.781, allocations: 0 / 0.7958 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/2.781, allocations: 4 kB / 0.7958 GB, free: 1.875 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002309/2.782, allocations: 216.6 kB / 0.796 GB, free: 1.703 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/2.782, allocations: 1.203 kB / 0.796 GB, free: 1.703 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004523/2.786, allocations: 1.635 MB / 0.7976 GB, free: 184 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007192/2.793, allocations: 2.477 MB / 0.8001 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004996/2.794, allocations: 124.8 kB / 0.8002 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/2.794, allocations: 1.406 kB / 0.8002 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/2.794, allocations: 46.38 kB / 0.8002 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/2.794, allocations: 68.64 kB / 0.8003 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/2.796, allocations: 0.4987 MB / 0.8008 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/2.796, allocations: 173.9 kB / 0.8009 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001377/2.796, allocations: 47.33 kB / 0.801 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/2.796, allocations: 24.5 kB / 0.801 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/2.796, allocations: 0 / 0.801 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of Templates: time 0.07526/2.871, allocations: 48.51 MB / 0.8484 GB, free: 12.77 MB / 0.7325 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.394815100939013] Failed to read output from testmodel.py, exit status != 0: 3.0344856419833377 3.05025666 0.5976871859999999 Calling exit ...