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.4821/0.4821, allocations: 111.6 MB / 131.4 MB, free: 4.914 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 1.664e-06/1.664e-06, allocations: 0 / 176.4 MB, free: 9.059 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.778e-05, allocations: 2.312 kB / 176.4 MB, free: 9.055 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.04/1.04, allocations: 257 MB / 433.4 MB, free: 348 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02789/1.068, allocations: 32.69 MB / 466.1 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/1.068, allocations: 4 kB / 466.1 MB, free: 15.53 MB / 426.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.0003139/1.068, allocations: 103.3 kB / 466.2 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/1.069, allocations: 123 kB / 466.3 MB, free: 15.31 MB / 426.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.0182/1.087, allocations: 9.869 MB / 476.2 MB, free: 5.395 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000377/1.087, allocations: 366.6 kB / 476.5 MB, free: 5.035 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/1.087, allocations: 108.8 kB / 476.7 MB, free: 4.926 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/1.088, allocations: 223.3 kB / 476.9 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/1.088, allocations: 83.73 kB / 477 MB, free: 4.625 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/1.088, allocations: 16 kB / 477 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2214/1.309, allocations: 16.84 MB / 493.8 MB, free: 9.223 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/1.309, allocations: 50.42 kB / 493.9 MB, free: 9.223 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/1.309, allocations: 92.34 kB / 494 MB, free: 9.223 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/1.325, allocations: 10.8 MB / 0.4929 GB, free: 6.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.325, allocations: 0 / 0.4929 GB, free: 6.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.325, allocations: 0.5312 kB / 0.4929 GB, free: 6.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/1.325, allocations: 0.5 kB / 0.4929 GB, free: 6.098 MB / 426.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.00328/1.328, allocations: 1.528 MB / 0.4944 GB, free: 5.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.328, allocations: 14.23 kB / 0.4944 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/1.328, allocations: 51.36 kB / 0.4945 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.329, allocations: 176.8 kB / 0.4946 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.329, allocations: 17.41 kB / 0.4947 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.329, allocations: 18.97 kB / 0.4947 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.329, allocations: 296 kB / 0.495 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.329, allocations: 2.25 kB / 0.495 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.329, allocations: 11.44 kB / 0.495 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/1.329, allocations: 16.17 kB / 0.495 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/1.329, allocations: 73.77 kB / 0.4951 GB, free: 4.531 MB / 426.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.01378/1.343, allocations: 9.829 MB / 0.5047 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/1.343, allocations: 80.55 kB / 0.5047 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/1.343, allocations: 35.67 kB / 0.5048 GB, free: 14.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06116/1.404, allocations: 38.19 MB / 0.5421 GB, free: 8.316 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.404, allocations: 33.89 kB / 0.5421 GB, free: 8.273 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.055e-06/1.404, allocations: 0.7031 kB / 0.5421 GB, free: 8.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.000567/1.405, allocations: 227.6 kB / 0.5423 GB, free: 8.043 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.405, allocations: 81.11 kB / 0.5424 GB, free: 7.945 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.405, allocations: 237.1 kB / 0.5426 GB, free: 7.719 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.405, allocations: 25.7 kB / 0.5426 GB, free: 7.688 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/1.405, allocations: 211.1 kB / 0.5428 GB, free: 7.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/1.405, allocations: 120.2 kB / 0.543 GB, free: 7.371 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/1.405, allocations: 68.72 kB / 0.543 GB, free: 7.309 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/1.405, allocations: 0.5086 MB / 0.5435 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/1.405, allocations: 27.98 kB / 0.5435 GB, free: 6.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/1.406, allocations: 129.7 kB / 0.5437 GB, free: 6.613 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/1.406, allocations: 161.2 kB / 0.5438 GB, free: 6.445 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.406, allocations: 0 / 0.5438 GB, free: 6.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002249/1.406, allocations: 204.4 kB / 0.544 GB, free: 6.246 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.406, allocations: 11.98 kB / 0.544 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.406, allocations: 0 / 0.544 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/1.406, allocations: 94.77 kB / 0.5441 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/1.406, allocations: 17.22 kB / 0.5441 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003671/1.407, allocations: 0.8561 MB / 0.545 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/1.407, allocations: 23.78 kB / 0.545 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/1.407, allocations: 4 kB / 0.545 GB, free: 5.219 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 (SourceP1.C.b,PuitsP1.C.a,Diaphragm.C1.a,Diaphragm.C2.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 9.489e-05/1.407, allocations: 168.5 kB / 0.5452 GB, free: 5.043 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/1.407, allocations: 24.98 kB / 0.5452 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/1.408, allocations: 0.6424 MB / 0.5458 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001986/1.408, allocations: 170.7 kB / 0.546 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/1.408, allocations: 0 / 0.546 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.408, allocations: 0 / 0.546 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/1.408, allocations: 0.5765 MB / 0.5465 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.408, allocations: 0.5 kB / 0.5465 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/1.408, allocations: 19.98 kB / 0.5466 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/1.408, allocations: 80.77 kB / 0.5466 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/1.408, allocations: 4 kB / 0.5466 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/1.409, allocations: 0.8528 MB / 0.5475 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.409, allocations: 4.828 kB / 0.5475 GB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/1.409, allocations: 349.7 kB / 0.5478 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/1.409, allocations: 23.89 kB / 0.5478 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/1.409, allocations: 11.88 kB / 0.5478 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/1.409, allocations: 8 kB / 0.5479 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/1.409, allocations: 7.984 kB / 0.5479 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/1.409, allocations: 0 / 0.5479 GB, free: 2.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.179e-05/1.409, allocations: 215.2 kB / 0.5481 GB, free: 2.031 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.409, allocations: 4 kB / 0.5481 GB, free: 2.027 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002517/1.412, allocations: 1.25 MB / 0.5493 GB, free: 0.7773 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.003429/1.415, allocations: 2.031 MB / 0.5513 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003032/1.416, allocations: 175.8 kB / 0.5514 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.416, allocations: 0 / 0.5514 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/1.416, allocations: 90.62 kB / 0.5515 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/1.416, allocations: 118.5 kB / 0.5516 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/1.417, allocations: 489.1 kB / 0.5521 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/1.417, allocations: 97.48 kB / 0.5522 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.992e-05/1.417, allocations: 14.22 kB / 0.5522 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/1.417, allocations: 142.1 kB / 0.5523 GB, free: 13.85 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.417, allocations: 4 kB / 0.5524 GB, free: 13.85 MB / 490.7 MB Notification: Performance of Templates: time 0.04783/1.465, allocations: 50.38 MB / 0.6016 GB, free: 11.7 MB / 0.5261 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.247522502206266]