Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.5237/0.5237, allocations: 111.6 MB / 132.2 MB, free: 4.418 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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 177.3 MB, free: 8.941 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.26e-05, allocations: 2.312 kB / 177.3 MB, free: 8.938 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.SimpleExamples.TestDiaphragm): time 1.05/1.05, allocations: 257.1 MB / 434.4 MB, free: 208 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3361/1.386, allocations: 180.7 MB / 0.6007 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/1.386, allocations: 15.88 kB / 0.6008 GB, free: 1.148 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 0.0001059/1.386, allocations: 43.58 kB / 0.6008 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/1.386, allocations: 122.8 kB / 0.6009 GB, free: 0.9844 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.02184/1.408, allocations: 12.41 MB / 0.613 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005245/1.409, allocations: 422.6 kB / 0.6134 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/1.409, allocations: 185.1 kB / 0.6136 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/1.409, allocations: 263.5 kB / 0.6139 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/1.409, allocations: 131.6 kB / 0.614 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/1.409, allocations: 32 kB / 0.614 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02429/1.434, allocations: 19.66 MB / 0.6332 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/1.434, allocations: 91.67 kB / 0.6333 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/1.434, allocations: 131.7 kB / 0.6334 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01979/1.454, allocations: 12.9 MB / 0.646 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.454, allocations: 8 kB / 0.646 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.032e-06/1.454, allocations: 0 / 0.646 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.45e-06/1.454, allocations: 0 / 0.646 GB, free: 2.68 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.00395/1.458, allocations: 2.01 MB / 0.648 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.458, allocations: 11.98 kB / 0.648 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/1.458, allocations: 71.72 kB / 0.6481 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/1.458, allocations: 266.8 kB / 0.6483 GB, free: 256 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.458, allocations: 29 kB / 0.6484 GB, free: 228 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/1.458, allocations: 39.94 kB / 0.6484 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/1.459, allocations: 355.6 kB / 0.6487 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.459, allocations: 3.938 kB / 0.6487 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.459, allocations: 12 kB / 0.6488 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.459, allocations: 8 kB / 0.6488 GB, free: 15.76 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/1.459, allocations: 127 kB / 0.6489 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/1.463, allocations: 3.367 MB / 0.6522 GB, free: 12.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.463, allocations: 51.12 kB / 0.6522 GB, free: 12.15 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/1.463, allocations: 23.67 kB / 0.6522 GB, free: 12.12 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3615/1.824, allocations: 77.25 MB / 0.7277 GB, free: 95.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.824, allocations: 39.44 kB / 0.7277 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/1.824, allocations: 0 / 0.7277 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004906/1.825, allocations: 149.7 kB / 0.7279 GB, free: 95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/1.825, allocations: 84.11 kB / 0.7279 GB, free: 94.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/1.825, allocations: 343.3 kB / 0.7283 GB, free: 94.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/1.825, allocations: 25.7 kB / 0.7283 GB, free: 94.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.825, allocations: 295.7 kB / 0.7286 GB, free: 94.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/1.825, allocations: 33.23 kB / 0.7286 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/1.825, allocations: 74.88 kB / 0.7287 GB, free: 94.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/1.825, allocations: 0.5018 MB / 0.7292 GB, free: 93.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/1.825, allocations: 20.56 kB / 0.7292 GB, free: 93.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/1.826, allocations: 209.3 kB / 0.7294 GB, free: 93.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/1.826, allocations: 209 kB / 0.7296 GB, free: 93.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.826, allocations: 5.234 kB / 0.7296 GB, free: 93.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000256/1.826, allocations: 236.7 kB / 0.7298 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.826, allocations: 5.5 kB / 0.7298 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.826, allocations: 7.25 kB / 0.7298 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/1.826, allocations: 76.06 kB / 0.7299 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/1.826, allocations: 50.95 kB / 0.73 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002479/1.827, allocations: 0.8121 MB / 0.7307 GB, free: 92.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/1.827, allocations: 28.56 kB / 0.7308 GB, free: 92.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.827, allocations: 12.02 kB / 0.7308 GB, free: 92.68 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 8.683e-05/1.827, allocations: 173.7 kB / 0.731 GB, free: 92.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/1.827, allocations: 29.08 kB / 0.731 GB, free: 92.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/1.827, allocations: 156.2 kB / 0.7311 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.827, allocations: 6.406 kB / 0.7311 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.827, allocations: 3.281 kB / 0.7311 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.827, allocations: 4.438 kB / 0.7311 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/1.827, allocations: 182.6 kB / 0.7313 GB, free: 92.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.827, allocations: 0 / 0.7313 GB, free: 92.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/1.827, allocations: 5.5 kB / 0.7313 GB, free: 92.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/1.828, allocations: 52.59 kB / 0.7314 GB, free: 92.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/1.828, allocations: 4.656 kB / 0.7314 GB, free: 92.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001894/1.828, allocations: 0.8197 MB / 0.7322 GB, free: 91.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.828, allocations: 0.5469 kB / 0.7322 GB, free: 91.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/1.828, allocations: 165.2 kB / 0.7323 GB, free: 91.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/1.828, allocations: 38.11 kB / 0.7324 GB, free: 91.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/1.828, allocations: 2.938 kB / 0.7324 GB, free: 91.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/1.828, allocations: 3.594 kB / 0.7324 GB, free: 91.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/1.828, allocations: 7.406 kB / 0.7324 GB, free: 91.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/1.828, allocations: 6.938 kB / 0.7324 GB, free: 91.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.894e-05/1.828, allocations: 218.2 kB / 0.7326 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.828, allocations: 1.094 kB / 0.7326 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002845/1.831, allocations: 1.638 MB / 0.7342 GB, free: 91.25 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.004163/1.835, allocations: 2.789 MB / 0.7369 GB, free: 90.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002673/1.835, allocations: 111.4 kB / 0.737 GB, free: 90.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.835, allocations: 0 / 0.737 GB, free: 90.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/1.835, allocations: 42.56 kB / 0.7371 GB, free: 90.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/1.836, allocations: 79 kB / 0.7371 GB, free: 90.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/1.837, allocations: 493 kB / 0.7376 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/1.837, allocations: 91.2 kB / 0.7377 GB, free: 90.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.345e-05/1.837, allocations: 42.16 kB / 0.7377 GB, free: 90.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.837, allocations: 126.8 kB / 0.7379 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of SimCode: time 9.91e-07/1.837, allocations: 0 / 0.7379 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.04615/1.883, allocations: 58.48 MB / 0.795 GB, free: 52 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.481033375952393]