Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.8578/0.8578, allocations: 153.9 MB / 172.7 MB, free: 4.961 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005561, allocations: 15.97 kB / 249.9 MB, free: 4.449 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1855, allocations: 33.36 MB / 283.2 MB, free: 1.828 MB / 222.1 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.TestStaticCentrifugalPump1): time 1.871/2.056, allocations: 307.6 MB / 0.577 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03577/2.092, allocations: 34.71 MB / 0.6109 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/2.092, allocations: 4.094 kB / 0.6109 GB, free: 14.35 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42: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/StaticCentrifugalPump.mo:63:3-65:37: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/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47:writable] Warning: Connector C 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.0004493/2.093, allocations: 142.6 kB / 0.611 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/2.093, allocations: 122.2 kB / 0.6111 GB, free: 14.19 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02765/2.121, allocations: 9.848 MB / 0.6207 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007067/2.121, allocations: 398.2 kB / 0.6211 GB, free: 8.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/2.121, allocations: 116.8 kB / 0.6212 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/2.122, allocations: 172 kB / 0.6214 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/2.122, allocations: 136.2 kB / 0.6215 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/2.122, allocations: 24 kB / 0.6215 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03414/2.156, allocations: 17.92 MB / 0.639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/2.156, allocations: 51.78 kB / 0.6391 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/2.156, allocations: 155.2 kB / 0.6392 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02045/2.177, allocations: 8.474 MB / 0.6475 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/2.177, allocations: 0 / 0.6475 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/2.177, allocations: 0 / 0.6475 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.366e-05/2.177, allocations: 0 / 0.6475 GB, free: 13.21 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004334/2.181, allocations: 1.469 MB / 0.6489 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/2.181, allocations: 12.03 kB / 0.6489 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.582e-05/2.181, allocations: 69.28 kB / 0.649 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/2.181, allocations: 35.77 kB / 0.649 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/2.182, allocations: 200.5 kB / 0.6492 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/2.182, allocations: 16.5 kB / 0.6493 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/2.182, allocations: 20 kB / 0.6493 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/2.182, allocations: 339.8 kB / 0.6496 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/2.182, allocations: 0 / 0.6496 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/2.182, allocations: 12 kB / 0.6496 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/2.182, allocations: 15.98 kB / 0.6496 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/2.183, allocations: 221 kB / 0.6498 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/2.218, allocations: 11.25 MB / 0.6608 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/2.219, allocations: 184.1 kB / 0.661 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/2.219, allocations: 97.56 kB / 0.6611 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1457/2.365, allocations: 43.4 MB / 0.7035 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/2.365, allocations: 42.56 kB / 0.7035 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 3.116e-06/2.365, allocations: 0 / 0.7035 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004132/2.369, allocations: 0.867 MB / 0.7044 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/2.369, allocations: 55.41 kB / 0.7044 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/2.369, allocations: 245.9 kB / 0.7046 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/2.369, allocations: 29.7 kB / 0.7047 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/2.369, allocations: 165.8 kB / 0.7048 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/2.369, allocations: 138.7 kB / 0.705 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/2.37, allocations: 57.66 kB / 0.705 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001537/2.37, allocations: 338.8 kB / 0.7053 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/2.37, allocations: 101.8 kB / 0.7054 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/2.37, allocations: 154.8 kB / 0.7056 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/2.371, allocations: 265.4 kB / 0.7058 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/2.371, allocations: 4 kB / 0.7058 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002376/2.373, allocations: 0.6025 MB / 0.7064 GB, free: 472 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/2.373, allocations: 7.984 kB / 0.7064 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/2.373, allocations: 0 / 0.7064 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/2.374, allocations: 225.6 kB / 0.7067 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/2.374, allocations: 16.55 kB / 0.7067 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009411/2.375, allocations: 0.7415 MB / 0.7074 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/2.375, allocations: 35.77 kB / 0.7074 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/2.375, allocations: 12 kB / 0.7074 GB, free: 15.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001732/2.375, allocations: 135.6 kB / 0.7076 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/2.375, allocations: 28.69 kB / 0.7076 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/2.376, allocations: 0.7833 MB / 0.7084 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005057/2.377, allocations: 295 kB / 0.7086 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/2.377, allocations: 0 / 0.7086 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/2.377, allocations: 3.984 kB / 0.7086 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/2.378, allocations: 0.8344 MB / 0.7095 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.378, allocations: 1.75 kB / 0.7095 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/2.378, allocations: 23.92 kB / 0.7095 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006977/2.379, allocations: 199.2 kB / 0.7097 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/2.379, allocations: 7.984 kB / 0.7097 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008677/2.38, allocations: 0.7683 MB / 0.7104 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/2.38, allocations: 5 kB / 0.7104 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/2.38, allocations: 416.1 kB / 0.7108 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/2.381, allocations: 47.7 kB / 0.7109 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/2.381, allocations: 15.89 kB / 0.7109 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/2.381, allocations: 4.844 kB / 0.7109 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/2.381, allocations: 15.97 kB / 0.7109 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/2.381, allocations: 4 kB / 0.7109 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002981/2.381, allocations: 262.9 kB / 0.7112 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.381, allocations: 0 / 0.7112 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003368/2.385, allocations: 1.212 MB / 0.7124 GB, free: 10.18 MB / 0.5762 GB 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007468/2.392, allocations: 2.601 MB / 0.7149 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009173/2.393, allocations: 292.8 kB / 0.7152 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.393, allocations: 256 / 0.7152 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/2.393, allocations: 139.8 kB / 0.7153 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/2.394, allocations: 126.2 kB / 0.7154 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/2.404, allocations: 3.904 MB / 0.7192 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/2.404, allocations: 0.7795 MB / 0.72 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001252/2.404, allocations: 28.27 kB / 0.72 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/2.404, allocations: 99.41 kB / 0.7201 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/2.404, allocations: 0 / 0.7201 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/2.506, allocations: 49.48 MB / 0.7684 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.69, allocations: 0 / 0.7684 GB, free: 1.27 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.79716639709659] Failed to read output from testmodel.py, exit status != 0: 18.217138576088473 18.226941874 16.047668606 Calling exit ...