Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.8672/0.8672, allocations: 153.9 MB / 172.7 MB, free: 4.926 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006833/0.0006833, allocations: 11.97 kB / 249.8 MB, free: 4.426 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.198, allocations: 33.37 MB / 283.2 MB, free: 1.824 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.TestCentrifugalPump13): time 1.907/2.105, allocations: 307.6 MB / 0.577 GB, free: 16.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03075/2.136, allocations: 31.52 MB / 0.6077 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/2.136, allocations: 2.219 kB / 0.6077 GB, free: 0.5273 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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/CentrifugalPump.mo:120:3-122: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/Machines/CentrifugalPump.mo:126:3-130:23: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:29:3-30:52: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:17:3-19:16: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.0004633/2.136, allocations: 133.2 kB / 0.6079 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/2.137, allocations: 116.7 kB / 0.608 GB, free: 400 kB / 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.02558/2.162, allocations: 8.681 MB / 0.6165 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008651/2.163, allocations: 448.8 kB / 0.6169 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/2.163, allocations: 165.5 kB / 0.6171 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/2.164, allocations: 201.9 kB / 0.6172 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/2.164, allocations: 186.9 kB / 0.6174 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/2.164, allocations: 29.97 kB / 0.6175 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03413/2.199, allocations: 15.18 MB / 0.6323 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/2.199, allocations: 191.3 kB / 0.6325 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/2.199, allocations: 292.2 kB / 0.6327 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02073/2.22, allocations: 7.97 MB / 0.6405 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/2.22, allocations: 4 kB / 0.6405 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/2.22, allocations: 0 / 0.6405 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.142e-05/2.22, allocations: 3.938 kB / 0.6405 GB, free: 4.398 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004831/2.225, allocations: 1.852 MB / 0.6423 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/2.225, allocations: 12.03 kB / 0.6423 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.928e-05/2.225, allocations: 75.94 kB / 0.6424 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/2.225, allocations: 91.39 kB / 0.6425 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/2.226, allocations: 383 kB / 0.6429 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/2.226, allocations: 20.66 kB / 0.6429 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/2.226, allocations: 28 kB / 0.6429 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/2.227, allocations: 482.7 kB / 0.6434 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/2.227, allocations: 1.219 kB / 0.6434 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/2.227, allocations: 16 kB / 0.6434 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/2.227, allocations: 8 kB / 0.6434 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/2.228, allocations: 494.3 kB / 0.6439 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/2.23, allocations: 1.815 MB / 0.6456 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/2.231, allocations: 0.5123 MB / 0.6461 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/2.231, allocations: 193.3 kB / 0.6463 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07629/2.308, allocations: 22.52 MB / 0.6683 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/2.308, allocations: 38.56 kB / 0.6684 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/2.308, allocations: 4 kB / 0.6684 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003198/2.311, allocations: 0.9756 MB / 0.6693 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/2.311, allocations: 59.34 kB / 0.6694 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/2.312, allocations: 0.8295 MB / 0.6702 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/2.312, allocations: 30.64 kB / 0.6702 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/2.312, allocations: 396.5 kB / 0.6706 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/2.312, allocations: 119 kB / 0.6707 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/2.313, allocations: 81.89 kB / 0.6708 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001333/2.313, allocations: 322 kB / 0.6711 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/2.313, allocations: 208.6 kB / 0.6713 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/2.314, allocations: 264.3 kB / 0.6715 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/2.314, allocations: 468.9 kB / 0.672 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/2.314, allocations: 5.312 kB / 0.672 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001273/2.316, allocations: 0.6751 MB / 0.6727 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/2.316, allocations: 8.844 kB / 0.6727 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/2.316, allocations: 11.94 kB / 0.6727 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/2.32, allocations: 0.6423 MB / 0.6733 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/2.32, allocations: 55.95 kB / 0.6734 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009051/2.321, allocations: 0.779 MB / 0.6741 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/2.321, allocations: 55.64 kB / 0.6742 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/2.321, allocations: 20 kB / 0.6742 GB, free: 1.559 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002847/2.322, allocations: 250.7 kB / 0.6744 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/2.322, allocations: 87.39 kB / 0.6745 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/2.323, allocations: 0.7831 MB / 0.6753 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001107/2.324, allocations: 0.5986 MB / 0.6759 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/2.324, allocations: 0 / 0.6759 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/2.324, allocations: 0 / 0.6759 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/2.327, allocations: 1.411 MB / 0.6772 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/2.327, allocations: 0 / 0.6772 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/2.327, allocations: 51.95 kB / 0.6773 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/2.329, allocations: 396.5 kB / 0.6777 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/2.329, allocations: 8.75 kB / 0.6777 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/2.33, allocations: 0.8108 MB / 0.6785 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.33, allocations: 1.375 kB / 0.6785 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/2.331, allocations: 0.7668 MB / 0.6792 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/2.331, allocations: 115.2 kB / 0.6793 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/2.331, allocations: 4 kB / 0.6793 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/2.332, allocations: 27.91 kB / 0.6794 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/2.332, allocations: 27.89 kB / 0.6794 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/2.332, allocations: 12.84 kB / 0.6794 GB, free: 12.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007385/2.332, allocations: 0.5809 MB / 0.68 GB, free: 11.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.332, allocations: 0 / 0.68 GB, free: 11.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002803/2.335, allocations: 1.165 MB / 0.6811 GB, free: 10.36 MB / 0.545 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 (24): * Single equations (assignments): 23 * 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.006584/2.342, allocations: 2.835 MB / 0.6839 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001382/2.343, allocations: 0.576 MB / 0.6844 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/2.343, allocations: 0 / 0.6844 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/2.344, allocations: 293.4 kB / 0.6847 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/2.344, allocations: 91.69 kB / 0.6848 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/2.355, allocations: 6.724 MB / 0.6914 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/2.356, allocations: 0.9732 MB / 0.6923 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002092/2.356, allocations: 37.83 kB / 0.6924 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/2.356, allocations: 264.2 kB / 0.6926 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/2.356, allocations: 0 / 0.6926 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/2.459, allocations: 52.02 MB / 0.7434 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/18.93, allocations: 4.656 kB / 0.7434 GB, free: 11.1 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.120552538894117] Failed to read output from testmodel.py, exit status != 0: 19.251213788986206 19.506089188 17.28296957 Calling exit ...