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.4751/0.4751, allocations: 111.6 MB / 132.2 MB, free: 4.426 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 2.024e-06/2.024e-06, allocations: 0 / 177.3 MB, free: 8.992 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.331e-05, allocations: 6.031 kB / 177.3 MB, free: 8.988 MB / 170.7 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.002/1.002, allocations: 257 MB / 434.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3145/1.317, allocations: 180.8 MB / 0.6006 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/1.317, allocations: 19.88 kB / 0.6007 GB, free: 0.7109 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:27:3-28:80: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:29:3-30:78: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 8.972e-05/1.317, allocations: 35.59 kB / 0.6007 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/1.317, allocations: 130.8 kB / 0.6008 GB, free: 0.5469 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.0185/1.336, allocations: 12.41 MB / 0.6129 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/1.336, allocations: 422.6 kB / 0.6133 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/1.336, allocations: 177.2 kB / 0.6135 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/1.337, allocations: 263.4 kB / 0.6138 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/1.337, allocations: 123.6 kB / 0.6139 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/1.337, allocations: 36 kB / 0.6139 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01989/1.357, allocations: 19.67 MB / 0.6331 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/1.357, allocations: 91.67 kB / 0.6332 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/1.357, allocations: 131.7 kB / 0.6333 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/1.369, allocations: 12.9 MB / 0.6459 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.369, allocations: 0 / 0.6459 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.193e-06/1.369, allocations: 0 / 0.6459 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.369, allocations: 4 kB / 0.6459 GB, free: 2.242 MB / 0.5573 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.002248/1.371, allocations: 2.002 MB / 0.6479 GB, free: 196 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/1.371, allocations: 11.98 kB / 0.6479 GB, free: 184 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/1.371, allocations: 75.72 kB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/1.371, allocations: 274.8 kB / 0.6482 GB, free: 15.81 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.371, allocations: 29 kB / 0.6483 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/1.371, allocations: 35.94 kB / 0.6483 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/1.372, allocations: 351.6 kB / 0.6486 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.372, allocations: 0 / 0.6486 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/1.372, allocations: 16 kB / 0.6486 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.372, allocations: 8 kB / 0.6486 GB, free: 15.33 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/1.372, allocations: 127 kB / 0.6488 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/1.375, allocations: 3.363 MB / 0.6521 GB, free: 11.79 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/1.375, allocations: 63 kB / 0.6521 GB, free: 11.71 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/1.375, allocations: 15.69 kB / 0.6521 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3126/1.688, allocations: 77.25 MB / 0.7276 GB, free: 94.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.688, allocations: 41.17 kB / 0.7276 GB, free: 94.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/1.688, allocations: 0 / 0.7276 GB, free: 94.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004284/1.689, allocations: 145.5 kB / 0.7277 GB, free: 94.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/1.689, allocations: 83.77 kB / 0.7278 GB, free: 94.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.689, allocations: 352.2 kB / 0.7282 GB, free: 94.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/1.689, allocations: 25.7 kB / 0.7282 GB, free: 94.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/1.689, allocations: 287.8 kB / 0.7285 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/1.689, allocations: 30.91 kB / 0.7285 GB, free: 94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/1.689, allocations: 74.39 kB / 0.7286 GB, free: 93.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/1.689, allocations: 0.5013 MB / 0.7291 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/1.689, allocations: 22.08 kB / 0.7291 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/1.689, allocations: 213 kB / 0.7293 GB, free: 93.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/1.689, allocations: 221.1 kB / 0.7295 GB, free: 93.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.689, allocations: 1.188 kB / 0.7295 GB, free: 93.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002336/1.689, allocations: 225.4 kB / 0.7297 GB, free: 92.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.689, allocations: 8.812 kB / 0.7297 GB, free: 92.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.689, allocations: 6.25 kB / 0.7297 GB, free: 92.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/1.69, allocations: 74.88 kB / 0.7298 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/1.69, allocations: 42.03 kB / 0.7298 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002047/1.69, allocations: 0.8221 MB / 0.7306 GB, free: 92.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/1.69, allocations: 28.67 kB / 0.7307 GB, free: 92.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/1.69, allocations: 9.469 kB / 0.7307 GB, free: 92.17 MB / 0.6198 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 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * 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 7.276e-05/1.69, allocations: 183.5 kB / 0.7308 GB, free: 92.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/1.69, allocations: 23.55 kB / 0.7309 GB, free: 92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/1.691, allocations: 159.9 kB / 0.731 GB, free: 91.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.691, allocations: 0 / 0.731 GB, free: 91.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/1.691, allocations: 0 / 0.731 GB, free: 91.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.691, allocations: 6.469 kB / 0.731 GB, free: 91.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/1.691, allocations: 171.1 kB / 0.7312 GB, free: 91.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.691, allocations: 7.5 kB / 0.7312 GB, free: 91.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/1.691, allocations: 9.531 kB / 0.7312 GB, free: 91.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/1.691, allocations: 59.22 kB / 0.7313 GB, free: 91.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/1.691, allocations: 1.5 kB / 0.7313 GB, free: 91.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000152/1.691, allocations: 0.8099 MB / 0.7321 GB, free: 91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.691, allocations: 3.469 kB / 0.7321 GB, free: 91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/1.691, allocations: 163.9 kB / 0.7322 GB, free: 90.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/1.691, allocations: 42.94 kB / 0.7323 GB, free: 90.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/1.691, allocations: 4.5 kB / 0.7323 GB, free: 90.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/1.691, allocations: 9.438 kB / 0.7323 GB, free: 90.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/1.691, allocations: 5.328 kB / 0.7323 GB, free: 90.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/1.691, allocations: 3.062 kB / 0.7323 GB, free: 90.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.831e-05/1.691, allocations: 214.8 kB / 0.7325 GB, free: 90.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.691, allocations: 0 / 0.7325 GB, free: 90.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002208/1.694, allocations: 1.638 MB / 0.7341 GB, free: 90.75 MB / 0.6198 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.003661/1.697, allocations: 2.805 MB / 0.7368 GB, free: 90.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001939/1.697, allocations: 109.5 kB / 0.7369 GB, free: 90.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/1.697, allocations: 0 / 0.7369 GB, free: 90.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/1.698, allocations: 44.39 kB / 0.737 GB, free: 90.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/1.698, allocations: 69.45 kB / 0.737 GB, free: 90.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/1.698, allocations: 0.4912 MB / 0.7375 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.824e-05/1.698, allocations: 90.55 kB / 0.7376 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.075e-05/1.699, allocations: 40.95 kB / 0.7376 GB, free: 90 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/1.699, allocations: 121 kB / 0.7378 GB, free: 89.94 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/1.699, allocations: 0 / 0.7378 GB, free: 89.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.04176/1.74, allocations: 58.5 MB / 0.7949 GB, free: 51.3 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.825340250041336]