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.826/0.826, allocations: 153.8 MB / 173.4 MB, free: 4.871 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004986, allocations: 15.92 kB / 250.6 MB, free: 4.375 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 33.35 MB / 283.9 MB, free: 1.75 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.824/1.999, allocations: 307.3 MB / 0.5773 GB, free: 17.42 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03346/2.033, allocations: 30.51 MB / 0.6071 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/2.033, allocations: 2.688 kB / 0.6071 GB, free: 2.855 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.0004844/2.033, allocations: 106.4 kB / 0.6072 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/2.034, allocations: 127.3 kB / 0.6074 GB, free: 2.723 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.02804/2.062, allocations: 9.705 MB / 0.6168 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008166/2.063, allocations: 406.2 kB / 0.6172 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/2.063, allocations: 114.7 kB / 0.6173 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/2.063, allocations: 179.2 kB / 0.6175 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/2.064, allocations: 135.3 kB / 0.6176 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/2.064, allocations: 24 kB / 0.6177 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03639/2.1, allocations: 17.64 MB / 0.6349 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/2.1, allocations: 57.5 kB / 0.6349 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/2.1, allocations: 127.4 kB / 0.6351 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02151/2.122, allocations: 8.482 MB / 0.6433 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/2.122, allocations: 0 / 0.6433 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/2.122, allocations: 0 / 0.6433 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.42e-05/2.122, allocations: 0 / 0.6433 GB, free: 1.855 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.004939/2.127, allocations: 1.462 MB / 0.6448 GB, free: 364 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/2.127, allocations: 8.031 kB / 0.6448 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.984e-05/2.127, allocations: 8.5 kB / 0.6448 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.441e-05/2.127, allocations: 63.03 kB / 0.6448 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/2.127, allocations: 39.77 kB / 0.6449 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/2.127, allocations: 200.5 kB / 0.6451 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/2.128, allocations: 17.39 kB / 0.6451 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/2.128, allocations: 19.94 kB / 0.6451 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/2.128, allocations: 339.9 kB / 0.6454 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/2.128, allocations: 3.938 kB / 0.6454 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/2.128, allocations: 12 kB / 0.6455 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/2.128, allocations: 11.98 kB / 0.6455 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/2.129, allocations: 222.6 kB / 0.6457 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/2.164, allocations: 10.91 MB / 0.6563 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/2.164, allocations: 175.1 kB / 0.6565 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/2.164, allocations: 93.91 kB / 0.6566 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1428/2.307, allocations: 43.59 MB / 0.6992 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/2.307, allocations: 34.56 kB / 0.6992 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/2.307, allocations: 0 / 0.6992 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004324/2.312, allocations: 0.8614 MB / 0.7 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/2.312, allocations: 55.41 kB / 0.7001 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/2.312, allocations: 253.8 kB / 0.7003 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/2.312, allocations: 30.83 kB / 0.7004 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/2.312, allocations: 164.7 kB / 0.7005 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/2.312, allocations: 134.8 kB / 0.7006 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/2.312, allocations: 61.64 kB / 0.7007 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001552/2.312, allocations: 338.8 kB / 0.701 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/2.313, allocations: 100.4 kB / 0.7011 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/2.313, allocations: 150.8 kB / 0.7013 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/2.313, allocations: 281.9 kB / 0.7015 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.313, allocations: 0 / 0.7015 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002501/2.316, allocations: 0.5947 MB / 0.7021 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/2.316, allocations: 9.875 kB / 0.7021 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.316, allocations: 0 / 0.7021 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/2.317, allocations: 227.7 kB / 0.7023 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/2.317, allocations: 17.31 kB / 0.7024 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009034/2.318, allocations: 0.7408 MB / 0.7031 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/2.318, allocations: 35.67 kB / 0.7031 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/2.318, allocations: 4 kB / 0.7031 GB, free: 4.305 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.0001671/2.318, allocations: 154.8 kB / 0.7033 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/2.318, allocations: 31.75 kB / 0.7033 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/2.319, allocations: 0.7695 MB / 0.704 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004939/2.32, allocations: 290.9 kB / 0.7043 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.32, allocations: 0 / 0.7043 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/2.32, allocations: 0 / 0.7043 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/2.321, allocations: 0.8034 MB / 0.7051 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/2.321, allocations: 0 / 0.7051 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/2.321, allocations: 23.98 kB / 0.7051 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006838/2.322, allocations: 200.3 kB / 0.7053 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/2.322, allocations: 4.75 kB / 0.7053 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008565/2.323, allocations: 0.7591 MB / 0.7061 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.323, allocations: 1.594 kB / 0.7061 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/2.323, allocations: 420 kB / 0.7065 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/2.323, allocations: 39.73 kB / 0.7065 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/2.323, allocations: 17.45 kB / 0.7065 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/2.324, allocations: 7.984 kB / 0.7065 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/2.324, allocations: 16.81 kB / 0.7065 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/2.324, allocations: 7.938 kB / 0.7066 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002767/2.324, allocations: 251.1 kB / 0.7068 GB, free: 372 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/2.324, allocations: 0 / 0.7068 GB, free: 372 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003332/2.327, allocations: 1.216 MB / 0.708 GB, free: 15.14 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.007172/2.334, allocations: 2.597 MB / 0.7105 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008051/2.335, allocations: 301.8 kB / 0.7108 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/2.335, allocations: 0 / 0.7108 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/2.336, allocations: 143.8 kB / 0.7109 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/2.336, allocations: 127.1 kB / 0.7111 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009914/2.346, allocations: 3.906 MB / 0.7149 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/2.346, allocations: 173 kB / 0.715 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001378/2.347, allocations: 27.62 kB / 0.7151 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/2.347, allocations: 103.4 kB / 0.7152 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/2.347, allocations: 0 / 0.7152 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0909/2.438, allocations: 49.36 MB / 0.7634 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/17.4, allocations: 7.5 kB / 0.7634 GB, free: 7.027 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.682286128983833] Failed to read output from testmodel.py, exit status != 0: 18.02240906096995 18.033969704 15.909305159 Calling exit ...