Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.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.5651/0.5651, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.272e-05, allocations: 2.312 kB / 176.5 MB, free: 9.418 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.TestCentrifugalPump5): time 1.064/1.064, allocations: 257.3 MB / 433.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02503/1.089, allocations: 29.93 MB / 463.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/1.089, allocations: 4 kB / 463.8 MB, free: 1.699 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/Machines/Shaft.mo:10:3-11:79:writable] Warning: Connector C2 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/ElectroMechanics/Machines/Shaft.mo:12:3-13:81:writable] Warning: Connector C1 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/ElectroMechanics/Machines/SynchronousMotor.mo:21:3-22:78:writable] Warning: Connector C 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.0003679/1.09, allocations: 123.1 kB / 463.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/1.09, allocations: 133 kB / 464 MB, free: 1.445 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.01555/1.106, allocations: 8.704 MB / 472.7 MB, free: 8.707 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/1.106, allocations: 0.5173 MB / 473.2 MB, free: 8.188 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/1.106, allocations: 219.7 kB / 473.5 MB, free: 7.969 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/1.107, allocations: 315.2 kB / 473.8 MB, free: 7.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/1.107, allocations: 151.6 kB / 473.9 MB, free: 7.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/1.107, allocations: 36 kB / 473.9 MB, free: 7.477 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01798/1.125, allocations: 14.29 MB / 488.2 MB, free: 9.168 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/1.125, allocations: 207.2 kB / 488.4 MB, free: 8.965 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/1.125, allocations: 175.4 kB / 488.6 MB, free: 8.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1985/1.324, allocations: 9.917 MB / 498.5 MB, free: 22.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.324, allocations: 0 / 498.5 MB, free: 22.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/1.324, allocations: 1.125 kB / 498.5 MB, free: 22.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/1.324, allocations: 0 / 498.5 MB, free: 22.45 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.003671/1.328, allocations: 2.045 MB / 0.4888 GB, free: 21.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.328, allocations: 13.83 kB / 0.4888 GB, free: 21.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/1.328, allocations: 134.8 kB / 0.489 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/1.328, allocations: 399.7 kB / 0.4894 GB, free: 20.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/1.328, allocations: 31.66 kB / 0.4894 GB, free: 20.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/1.328, allocations: 34.84 kB / 0.4894 GB, free: 20.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/1.329, allocations: 0.6009 MB / 0.49 GB, free: 20.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.329, allocations: 1.734 kB / 0.49 GB, free: 20.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/1.329, allocations: 18.84 kB / 0.49 GB, free: 20.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/1.329, allocations: 10.44 kB / 0.49 GB, free: 20.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/1.33, allocations: 0.5178 MB / 0.4905 GB, free: 20.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/1.331, allocations: 2.531 MB / 0.493 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/1.332, allocations: 0.7425 MB / 0.4937 GB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/1.332, allocations: 285.9 kB / 0.494 GB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03671/1.369, allocations: 22.69 MB / 0.5162 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.369, allocations: 40.84 kB / 0.5162 GB, free: 13.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/1.369, allocations: 4 kB / 0.5162 GB, free: 13.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.002603/1.372, allocations: 1.68 MB / 0.5179 GB, free: 12.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.372, allocations: 117.2 kB / 0.518 GB, free: 12.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/1.372, allocations: 0.716 MB / 0.5187 GB, free: 11.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/1.372, allocations: 33.52 kB / 0.5187 GB, free: 11.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.372, allocations: 435.6 kB / 0.5191 GB, free: 11.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/1.372, allocations: 165.6 kB / 0.5193 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/1.373, allocations: 90.92 kB / 0.5194 GB, free: 11.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/1.373, allocations: 0.4905 MB / 0.5198 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/1.373, allocations: 257.5 kB / 0.5201 GB, free: 10.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/1.373, allocations: 338.6 kB / 0.5204 GB, free: 10.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/1.373, allocations: 0.5983 MB / 0.521 GB, free: 10.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.373, allocations: 4 kB / 0.521 GB, free: 10.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008401/1.374, allocations: 1.036 MB / 0.522 GB, free: 9.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/1.374, allocations: 61.48 kB / 0.5221 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/1.374, allocations: 4 kB / 0.5221 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/1.376, allocations: 0.9778 MB / 0.523 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/1.376, allocations: 19.98 kB / 0.523 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009252/1.377, allocations: 1.928 MB / 0.5249 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/1.378, allocations: 31.72 kB / 0.525 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/1.378, allocations: 19.92 kB / 0.525 GB, free: 6.496 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: 6 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a,nONL.yL.signal,echelon.yL.signal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.378, allocations: 228.1 kB / 0.5252 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/1.378, allocations: 106 kB / 0.5253 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/1.379, allocations: 1.06 MB / 0.5263 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000654/1.379, allocations: 0.9217 MB / 0.5272 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.379, allocations: 0 / 0.5272 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.379, allocations: 3.984 kB / 0.5272 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.381, allocations: 1.952 MB / 0.5291 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.381, allocations: 0 / 0.5291 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/1.381, allocations: 39.11 kB / 0.5292 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/1.382, allocations: 0.6707 MB / 0.5298 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.382, allocations: 11.06 kB / 0.5298 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007893/1.383, allocations: 1.905 MB / 0.5317 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.383, allocations: 3.656 kB / 0.5317 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.384, allocations: 1.502 MB / 0.5332 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/1.384, allocations: 111.2 kB / 0.5333 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.384, allocations: 8 kB / 0.5333 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.384, allocations: 16.62 kB / 0.5333 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/1.384, allocations: 24.44 kB / 0.5333 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/1.384, allocations: 19.94 kB / 0.5333 GB, free: 14.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003063/1.384, allocations: 446.9 kB / 0.5338 GB, free: 14.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.384, allocations: 4 kB / 0.5338 GB, free: 14.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002267/1.387, allocations: 1.169 MB / 0.5349 GB, free: 13.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (shaft.delta,synchronousMotor.w,synchronousMotor.Im) * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003526/1.39, allocations: 1.784 MB / 0.5367 GB, free: 11.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009056/1.391, allocations: 0.8569 MB / 0.5375 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.391, allocations: 0 / 0.5375 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/1.391, allocations: 0.5289 MB / 0.538 GB, free: 10.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/1.392, allocations: 92.22 kB / 0.5381 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/1.395, allocations: 1.759 MB / 0.5398 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/1.395, allocations: 201.5 kB / 0.54 GB, free: 7.957 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.915e-05/1.395, allocations: 28.14 kB / 0.54 GB, free: 7.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/1.395, allocations: 20.5 kB / 0.5401 GB, free: 7.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/1.395, allocations: 0 / 0.5401 GB, free: 7.91 MB / 458.7 MB Notification: Performance of Templates: time 0.04353/1.438, allocations: 42.12 MB / 0.5812 GB, free: 14 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.107473612995818]