Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.7824/0.7824, allocations: 111.6 MB / 131 MB, free: 5.098 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.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.07e-06, allocations: 3.984 kB / 175.6 MB, free: 9.531 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.568e-05, allocations: 2.312 kB / 175.6 MB, free: 9.527 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.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.632/1.632, allocations: 254.4 MB / 430.1 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04798/1.68, allocations: 30.79 MB / 460.9 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/1.68, allocations: 0 / 460.9 MB, free: 1.758 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:20:3-21:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:22:3-23:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003796/1.68, allocations: 115.3 kB / 461 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/1.681, allocations: 119.1 kB / 461.1 MB, free: 1.527 MB / 410.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02734/1.708, allocations: 9.849 MB / 470.9 MB, free: 7.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/1.709, allocations: 374.6 kB / 471.3 MB, free: 7.273 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/1.709, allocations: 100.7 kB / 471.4 MB, free: 7.176 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/1.709, allocations: 227.3 kB / 471.6 MB, free: 6.953 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/1.709, allocations: 79.73 kB / 471.7 MB, free: 6.875 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/1.709, allocations: 24 kB / 471.7 MB, free: 6.852 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03471/1.744, allocations: 16.86 MB / 488.6 MB, free: 5.965 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/1.744, allocations: 51.77 kB / 488.6 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/1.744, allocations: 83.83 kB / 488.7 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2043/1.949, allocations: 10.87 MB / 499.6 MB, free: 22.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.949, allocations: 0 / 499.6 MB, free: 22.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.353e-06/1.949, allocations: 0 / 499.6 MB, free: 22.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/1.949, allocations: 1.25 kB / 499.6 MB, free: 22.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006047/1.955, allocations: 1.419 MB / 0.4893 GB, free: 21.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.955, allocations: 13.3 kB / 0.4893 GB, free: 21.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/1.955, allocations: 46.98 kB / 0.4893 GB, free: 21.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/1.955, allocations: 182 kB / 0.4895 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/1.955, allocations: 14.91 kB / 0.4895 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/1.955, allocations: 20.34 kB / 0.4895 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/1.956, allocations: 346.4 kB / 0.4899 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.956, allocations: 1.5 kB / 0.4899 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/1.956, allocations: 11.12 kB / 0.4899 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/1.956, allocations: 13.52 kB / 0.4899 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/1.956, allocations: 177.6 kB / 0.4901 GB, free: 21.3 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03263/1.989, allocations: 10.89 MB / 0.5007 GB, free: 19.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/1.989, allocations: 126.2 kB / 0.5008 GB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.989, allocations: 65.8 kB / 0.5009 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1437/2.133, allocations: 43.67 MB / 0.5435 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/2.133, allocations: 34.5 kB / 0.5436 GB, free: 1.918 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/2.133, allocations: 0 / 0.5436 GB, free: 1.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.001014/2.134, allocations: 351.2 kB / 0.5439 GB, free: 1.668 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/2.134, allocations: 77.11 kB / 0.544 GB, free: 1.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/2.134, allocations: 180.2 kB / 0.5441 GB, free: 1.414 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/2.134, allocations: 28.95 kB / 0.5442 GB, free: 1.383 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/2.134, allocations: 165.9 kB / 0.5443 GB, free: 1.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/2.135, allocations: 115.3 kB / 0.5444 GB, free: 1.133 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/2.135, allocations: 50.69 kB / 0.5445 GB, free: 1.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/2.135, allocations: 337.1 kB / 0.5448 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/2.135, allocations: 74.09 kB / 0.5449 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/2.135, allocations: 164.8 kB / 0.545 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/2.136, allocations: 229.7 kB / 0.5453 GB, free: 428 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/2.136, allocations: 0 / 0.5453 GB, free: 428 kB / 458.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000544/2.136, allocations: 314.8 kB / 0.5456 GB, free: 204 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.136, allocations: 8 kB / 0.5456 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/2.136, allocations: 4.156 kB / 0.5456 GB, free: 192 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/2.137, allocations: 137.4 kB / 0.5457 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/2.137, allocations: 12 kB / 0.5457 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007045/2.138, allocations: 0.6134 MB / 0.5463 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/2.138, allocations: 30.05 kB / 0.5463 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/2.138, allocations: 5.625 kB / 0.5463 GB, free: 15.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001642/2.138, allocations: 139.6 kB / 0.5465 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/2.138, allocations: 23.17 kB / 0.5465 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/2.139, allocations: 0.5929 MB / 0.5471 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006028/2.14, allocations: 236.7 kB / 0.5473 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/2.14, allocations: 5.5 kB / 0.5473 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/2.14, allocations: 3.984 kB / 0.5473 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/2.141, allocations: 0.615 MB / 0.5479 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/2.141, allocations: 0.9844 kB / 0.5479 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/2.141, allocations: 25.05 kB / 0.5479 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/2.142, allocations: 109.6 kB / 0.548 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/2.142, allocations: 9.812 kB / 0.5481 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006668/2.143, allocations: 0.6461 MB / 0.5487 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.143, allocations: 0 / 0.5487 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009742/2.144, allocations: 341.3 kB / 0.549 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/2.144, allocations: 27.52 kB / 0.549 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/2.144, allocations: 14.77 kB / 0.5491 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/2.144, allocations: 10.89 kB / 0.5491 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/2.144, allocations: 9.484 kB / 0.5491 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/2.144, allocations: 5.938 kB / 0.5491 GB, free: 12.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002635/2.144, allocations: 212.5 kB / 0.5493 GB, free: 12.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/2.144, allocations: 0 / 0.5493 GB, free: 12.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004642/2.149, allocations: 1.233 MB / 0.5505 GB, free: 11.66 MB / 474.7 MB 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 (13): * Single equations (assignments): 12 * 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.008569/2.157, allocations: 1.944 MB / 0.5524 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007547/2.158, allocations: 231.7 kB / 0.5526 GB, free: 9.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/2.158, allocations: 0 / 0.5526 GB, free: 9.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/2.158, allocations: 95.33 kB / 0.5527 GB, free: 9.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/2.159, allocations: 115 kB / 0.5528 GB, free: 9.676 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/2.16, allocations: 498.7 kB / 0.5533 GB, free: 9.207 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/2.16, allocations: 163.3 kB / 0.5534 GB, free: 9.031 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000104/2.161, allocations: 27.66 kB / 0.5535 GB, free: 9.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/2.161, allocations: 20.5 kB / 0.5535 GB, free: 8.988 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/2.161, allocations: 0 / 0.5535 GB, free: 8.988 MB / 474.7 MB Notification: Performance of Templates: time 0.06987/2.23, allocations: 42.82 MB / 0.5953 GB, free: 14.43 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.207589084049687]