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.8078/0.8078, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.0005025/0.0005025, allocations: 11.97 kB / 249.8 MB, free: 4.402 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 33.36 MB / 283.2 MB, free: 1.723 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.8/1.98, allocations: 307.6 MB / 0.577 GB, free: 17.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03201/2.012, allocations: 30.53 MB / 0.6068 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/2.012, allocations: 2.125 kB / 0.6068 GB, free: 2.699 MB / 478.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.0004324/2.013, allocations: 112.9 kB / 0.6069 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/2.013, allocations: 128.5 kB / 0.607 GB, free: 2.559 MB / 478.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.028/2.041, allocations: 9.698 MB / 0.6165 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007679/2.042, allocations: 414.2 kB / 0.6169 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/2.042, allocations: 99.39 kB / 0.617 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/2.043, allocations: 186.1 kB / 0.6171 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/2.043, allocations: 123.3 kB / 0.6173 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/2.043, allocations: 23.98 kB / 0.6173 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03388/2.077, allocations: 16.75 MB / 0.6336 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/2.077, allocations: 55.77 kB / 0.6337 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/2.077, allocations: 131.3 kB / 0.6338 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01995/2.097, allocations: 8.482 MB / 0.6421 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/2.097, allocations: 0 / 0.6421 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/2.097, allocations: 0 / 0.6421 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.588e-05/2.097, allocations: 0 / 0.6421 GB, free: 2.641 MB / 0.4981 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.004043/2.101, allocations: 1.462 MB / 0.6435 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.101, allocations: 12.02 kB / 0.6435 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.373e-05/2.101, allocations: 63.3 kB / 0.6436 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/2.101, allocations: 39.75 kB / 0.6436 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/2.102, allocations: 184.7 kB / 0.6438 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/2.102, allocations: 21.28 kB / 0.6438 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/2.102, allocations: 20 kB / 0.6438 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/2.102, allocations: 343.9 kB / 0.6442 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/2.102, allocations: 3.938 kB / 0.6442 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/2.102, allocations: 7.938 kB / 0.6442 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/2.102, allocations: 17.02 kB / 0.6442 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/2.103, allocations: 226.1 kB / 0.6444 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03454/2.137, allocations: 10.9 MB / 0.6551 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/2.138, allocations: 185.6 kB / 0.6552 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/2.138, allocations: 96.77 kB / 0.6553 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1417/2.28, allocations: 43.58 MB / 0.6979 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/2.28, allocations: 42.56 kB / 0.6979 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/2.28, allocations: 0 / 0.6979 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.003925/2.284, allocations: 0.8575 MB / 0.6988 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/2.284, allocations: 59.34 kB / 0.6988 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/2.284, allocations: 253.8 kB / 0.6991 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/2.284, allocations: 30.73 kB / 0.6991 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/2.284, allocations: 156.8 kB / 0.6992 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/2.284, allocations: 138.7 kB / 0.6994 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/2.284, allocations: 61.64 kB / 0.6994 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/2.284, allocations: 338.8 kB / 0.6998 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/2.285, allocations: 104.4 kB / 0.6999 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/2.285, allocations: 151.7 kB / 0.7 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/2.285, allocations: 273.3 kB / 0.7003 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/2.285, allocations: 0 / 0.7003 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002205/2.287, allocations: 0.5985 MB / 0.7008 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/2.287, allocations: 8 kB / 0.7009 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/2.287, allocations: 0.8438 kB / 0.7009 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/2.288, allocations: 219.3 kB / 0.7011 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/2.288, allocations: 25.17 kB / 0.7011 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/2.289, allocations: 0.7419 MB / 0.7018 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/2.289, allocations: 39.67 kB / 0.7019 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/2.289, allocations: 4 kB / 0.7019 GB, free: 5.098 MB / 0.5606 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.000145/2.289, allocations: 142.5 kB / 0.702 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/2.29, allocations: 23.81 kB / 0.702 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009916/2.291, allocations: 0.7941 MB / 0.7028 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004765/2.291, allocations: 286.9 kB / 0.7031 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/2.291, allocations: 3.938 kB / 0.7031 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/2.291, allocations: 0 / 0.7031 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/2.292, allocations: 0.7964 MB / 0.7038 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/2.292, allocations: 0 / 0.7038 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/2.292, allocations: 28.55 kB / 0.7039 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/2.293, allocations: 197 kB / 0.7041 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/2.293, allocations: 8.75 kB / 0.7041 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/2.294, allocations: 0.7654 MB / 0.7048 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/2.294, allocations: 0 / 0.7048 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/2.294, allocations: 414.9 kB / 0.7052 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/2.294, allocations: 47.67 kB / 0.7053 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/2.294, allocations: 11.95 kB / 0.7053 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/2.295, allocations: 4.562 kB / 0.7053 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/2.295, allocations: 15.97 kB / 0.7053 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/2.295, allocations: 11.98 kB / 0.7053 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002635/2.295, allocations: 255 kB / 0.7055 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/2.295, allocations: 0 / 0.7055 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002822/2.298, allocations: 1.216 MB / 0.7067 GB, free: 15.93 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.005357/2.303, allocations: 2.597 MB / 0.7093 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007176/2.304, allocations: 298 kB / 0.7095 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/2.304, allocations: 0 / 0.7095 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/2.304, allocations: 143.7 kB / 0.7097 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/2.305, allocations: 134.3 kB / 0.7098 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/2.313, allocations: 3.893 MB / 0.7136 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/2.313, allocations: 177 kB / 0.7138 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001156/2.313, allocations: 27.39 kB / 0.7138 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/2.313, allocations: 103.4 kB / 0.7139 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/2.313, allocations: 1.031 kB / 0.7139 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09007/2.403, allocations: 49.64 MB / 0.7624 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/16.87, allocations: 8.594 kB / 0.7624 GB, free: 7.508 MB / 0.6231 GB " [Timeout remaining time 643] (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: 18.805076031945646] Failed to read output from testmodel.py, exit status != 0: 17.373769550118595 17.384107267 15.284468934 Calling exit ...