Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.5316/0.5316, allocations: 111.6 MB / 131.5 MB, free: 4.902 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.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 176.6 MB, free: 8.941 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.503e-05, allocations: 4.984 kB / 176.6 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.Examples.SimpleExamples.TestSingularPressureLoss): time 1.052/1.052, allocations: 262.8 MB / 439.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02817/1.08, allocations: 32.95 MB / 472.4 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/1.08, allocations: 4 kB / 472.4 MB, free: 14.07 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/SingularPressureLoss.mo:15:3-16: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/SingularPressureLoss.mo:17:3-18: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.0003192/1.081, allocations: 103.4 kB / 472.5 MB, free: 13.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/1.081, allocations: 119.2 kB / 472.6 MB, free: 13.85 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.01821/1.099, allocations: 9.873 MB / 482.5 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/1.1, allocations: 346.2 kB / 482.8 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/1.1, allocations: 98.81 kB / 482.9 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/1.1, allocations: 207.4 kB / 483.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/1.1, allocations: 79.73 kB / 483.2 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/1.1, allocations: 16 kB / 483.2 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1942/1.294, allocations: 16.77 MB / 500 MB, free: 8.375 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/1.294, allocations: 48 kB / 0.4883 GB, free: 8.375 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/1.294, allocations: 81.58 kB / 0.4884 GB, free: 8.375 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/1.309, allocations: 10.72 MB / 0.4988 GB, free: 4.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.309, allocations: 2.688 kB / 0.4989 GB, free: 4.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.309, allocations: 0 / 0.4989 GB, free: 4.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/1.309, allocations: 0 / 0.4989 GB, free: 4.152 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002796/1.312, allocations: 1.367 MB / 0.5002 GB, free: 3.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/1.312, allocations: 12.14 kB / 0.5002 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/1.312, allocations: 31.62 kB / 0.5002 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.312, allocations: 161 kB / 0.5004 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.312, allocations: 11 kB / 0.5004 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/1.312, allocations: 20.81 kB / 0.5004 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/1.312, allocations: 225.8 kB / 0.5006 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.312, allocations: 0.7188 kB / 0.5006 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.312, allocations: 7.156 kB / 0.5006 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.312, allocations: 15.2 kB / 0.5007 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/1.312, allocations: 77.47 kB / 0.5007 GB, free: 2.863 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.01305/1.325, allocations: 9.145 MB / 0.5097 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/1.326, allocations: 98.47 kB / 0.5097 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/1.326, allocations: 21.66 kB / 0.5098 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06321/1.389, allocations: 39.06 MB / 0.5479 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.389, allocations: 30.56 kB / 0.5479 GB, free: 6.043 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/1.389, allocations: 0 / 0.5479 GB, free: 6.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004084/1.389, allocations: 173.5 kB / 0.5481 GB, free: 5.867 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/1.389, allocations: 59.41 kB / 0.5482 GB, free: 5.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.389, allocations: 163.4 kB / 0.5483 GB, free: 5.641 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/1.389, allocations: 25.7 kB / 0.5483 GB, free: 5.609 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/1.39, allocations: 157.9 kB / 0.5485 GB, free: 5.457 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/1.39, allocations: 108.2 kB / 0.5486 GB, free: 5.359 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/1.39, allocations: 44.73 kB / 0.5486 GB, free: 5.316 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/1.39, allocations: 340.1 kB / 0.549 GB, free: 4.988 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/1.39, allocations: 23.16 kB / 0.549 GB, free: 4.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/1.39, allocations: 64.28 kB / 0.549 GB, free: 4.895 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.278e-05/1.39, allocations: 113.3 kB / 0.5492 GB, free: 4.777 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.39, allocations: 0 / 0.5492 GB, free: 4.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001572/1.39, allocations: 167.6 kB / 0.5493 GB, free: 4.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.39, allocations: 13.34 kB / 0.5493 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.39, allocations: 0.625 kB / 0.5493 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/1.39, allocations: 72.78 kB / 0.5494 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.877e-05/1.39, allocations: 8 kB / 0.5494 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002674/1.391, allocations: 0.5699 MB / 0.55 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/1.391, allocations: 23.78 kB / 0.55 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/1.391, allocations: 4 kB / 0.55 GB, free: 3.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,singularPressureLoss.C1.a,singularPressureLoss.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * 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 6.949e-05/1.391, allocations: 114.5 kB / 0.5501 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/1.391, allocations: 7.094 kB / 0.5501 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/1.391, allocations: 491.3 kB / 0.5506 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/1.391, allocations: 131.4 kB / 0.5507 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/1.391, allocations: 0.875 kB / 0.5507 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.391, allocations: 0.6094 kB / 0.5507 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/1.392, allocations: 479.5 kB / 0.5512 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.392, allocations: 0.8438 kB / 0.5512 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/1.392, allocations: 15.98 kB / 0.5512 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/1.392, allocations: 72.95 kB / 0.5512 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/1.392, allocations: 4.812 kB / 0.5512 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002142/1.392, allocations: 0.5818 MB / 0.5518 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.392, allocations: 0.7031 kB / 0.5518 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/1.392, allocations: 278.5 kB / 0.5521 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/1.392, allocations: 16.73 kB / 0.5521 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.392, allocations: 7.953 kB / 0.5521 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/1.392, allocations: 12.48 kB / 0.5521 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/1.392, allocations: 7.984 kB / 0.5521 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/1.392, allocations: 0 / 0.5521 GB, free: 1.691 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.526e-05/1.392, allocations: 83.89 kB / 0.5522 GB, free: 1.609 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.392, allocations: 0 / 0.5522 GB, free: 1.609 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002191/1.395, allocations: 1.212 MB / 0.5534 GB, free: 404 kB / 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 (11): * Single equations (assignments): 10 * 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.003219/1.398, allocations: 2.014 MB / 0.5554 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/1.398, allocations: 155.3 kB / 0.5555 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.398, allocations: 8 kB / 0.5555 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/1.398, allocations: 67.19 kB / 0.5556 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.398, allocations: 110.9 kB / 0.5557 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/1.399, allocations: 476.3 kB / 0.5561 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/1.399, allocations: 88.25 kB / 0.5562 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.509e-05/1.399, allocations: 15.83 kB / 0.5562 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.399, allocations: 111.3 kB / 0.5563 GB, free: 13.59 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/1.399, allocations: 0 / 0.5563 GB, free: 13.59 MB / 490.7 MB Notification: Performance of Templates: time 0.04533/1.445, allocations: 48.8 MB / 0.604 GB, free: 13.06 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.120831722859293]