Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.5187/0.5187, allocations: 111.6 MB / 132.2 MB, free: 4.406 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 177.3 MB, free: 8.934 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.926e-05, allocations: 6.312 kB / 177.3 MB, free: 8.926 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.TestCentrifugalPump12): time 1.042/1.042, allocations: 257.2 MB / 434.5 MB, free: 168 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02394/1.066, allocations: 29.43 MB / 463.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/1.066, allocations: 4 kB / 463.9 MB, free: 2.609 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65: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/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 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/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17: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/Sink.mo:10:3-11: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/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-6:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002941/1.066, allocations: 115.2 kB / 464.1 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/1.066, allocations: 125.1 kB / 464.2 MB, free: 2.371 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.01461/1.081, allocations: 8.681 MB / 472.9 MB, free: 9.66 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/1.081, allocations: 474.1 kB / 473.3 MB, free: 9.195 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/1.082, allocations: 185.4 kB / 473.5 MB, free: 9.012 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/1.082, allocations: 287.2 kB / 473.8 MB, free: 8.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/1.082, allocations: 147.6 kB / 473.9 MB, free: 8.586 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/1.082, allocations: 32 kB / 474 MB, free: 8.555 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1775/1.26, allocations: 14.29 MB / 488.3 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/1.26, allocations: 195.7 kB / 488.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/1.26, allocations: 162.9 kB / 488.6 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/1.272, allocations: 9.903 MB / 498.5 MB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.272, allocations: 0 / 498.5 MB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/1.272, allocations: 0 / 498.5 MB, free: 10.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/1.272, allocations: 0.7812 kB / 498.5 MB, free: 10.18 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003436/1.276, allocations: 1.959 MB / 0.4887 GB, free: 9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/1.276, allocations: 12.52 kB / 0.4888 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/1.276, allocations: 120 kB / 0.4889 GB, free: 8.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.276, allocations: 385.7 kB / 0.4892 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/1.276, allocations: 22.59 kB / 0.4893 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/1.276, allocations: 32.72 kB / 0.4893 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/1.276, allocations: 360.5 kB / 0.4896 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.277, allocations: 3.594 kB / 0.4896 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/1.277, allocations: 13.62 kB / 0.4896 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.277, allocations: 10.62 kB / 0.4897 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/1.277, allocations: 231.6 kB / 0.4899 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/1.278, allocations: 1.607 MB / 0.4914 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/1.278, allocations: 348.9 kB / 0.4918 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/1.278, allocations: 100.8 kB / 0.4919 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03238/1.311, allocations: 19.76 MB / 0.5112 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.311, allocations: 41.39 kB / 0.5112 GB, free: 10.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.765e-06/1.311, allocations: 0 / 0.5112 GB, free: 10.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001245/1.312, allocations: 0.6399 MB / 0.5118 GB, free: 9.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.312, allocations: 55.41 kB / 0.5119 GB, free: 9.652 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/1.312, allocations: 0.7052 MB / 0.5126 GB, free: 9.043 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/1.312, allocations: 29.7 kB / 0.5126 GB, free: 9.008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/1.313, allocations: 438.2 kB / 0.513 GB, free: 8.605 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/1.313, allocations: 148.7 kB / 0.5132 GB, free: 8.469 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/1.313, allocations: 82.2 kB / 0.5132 GB, free: 8.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/1.313, allocations: 0.4893 MB / 0.5137 GB, free: 7.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/1.313, allocations: 80.77 kB / 0.5138 GB, free: 7.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/1.313, allocations: 162.9 kB / 0.514 GB, free: 7.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/1.313, allocations: 256.2 kB / 0.5142 GB, free: 7.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.313, allocations: 0 / 0.5142 GB, free: 7.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00049/1.314, allocations: 499.7 kB / 0.5147 GB, free: 6.902 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.314, allocations: 8 kB / 0.5147 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.314, allocations: 0 / 0.5147 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/1.316, allocations: 0.7527 MB / 0.5154 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.316, allocations: 34.97 kB / 0.5155 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000721/1.317, allocations: 1.317 MB / 0.5167 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.317, allocations: 40.27 kB / 0.5168 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/1.317, allocations: 8 kB / 0.5168 GB, free: 4.75 MB / 442.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 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.317, allocations: 176.8 kB / 0.517 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/1.317, allocations: 91.38 kB / 0.517 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/1.318, allocations: 0.4911 MB / 0.5175 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002916/1.318, allocations: 350.6 kB / 0.5179 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/1.318, allocations: 0 / 0.5179 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.318, allocations: 7.984 kB / 0.5179 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/1.319, allocations: 1.054 MB / 0.5189 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.319, allocations: 3.938 kB / 0.5189 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/1.319, allocations: 63.16 kB / 0.519 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008093/1.32, allocations: 325.2 kB / 0.5193 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.32, allocations: 16.55 kB / 0.5193 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004731/1.32, allocations: 0.9438 MB / 0.5202 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.32, allocations: 4 kB / 0.5202 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/1.321, allocations: 0.7426 MB / 0.5209 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/1.321, allocations: 111.2 kB / 0.521 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/1.321, allocations: 9.25 kB / 0.521 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/1.321, allocations: 11.98 kB / 0.5211 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/1.321, allocations: 31.89 kB / 0.5211 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.321, allocations: 11.98 kB / 0.5211 GB, free: 344 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002283/1.322, allocations: 415.3 kB / 0.5215 GB, free: 15.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.322, allocations: 8.031 kB / 0.5215 GB, free: 15.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002995/1.325, allocations: 1.169 MB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/1.328, allocations: 1.855 MB / 0.5245 GB, free: 13.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006449/1.328, allocations: 382.1 kB / 0.5248 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.328, allocations: 0 / 0.5248 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/1.329, allocations: 224.3 kB / 0.525 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/1.329, allocations: 100.9 kB / 0.5251 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/1.33, allocations: 1.327 MB / 0.5264 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/1.331, allocations: 196.4 kB / 0.5266 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.43e-05/1.331, allocations: 34.36 kB / 0.5267 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.331, allocations: 126.2 kB / 0.5268 GB, free: 10.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.083e-06/1.331, allocations: 0 / 0.5268 GB, free: 10.79 MB / 458.7 MB Notification: Performance of Templates: time 0.04504/1.376, allocations: 48.31 MB / 0.574 GB, free: 10.71 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.43549924204126]