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.8702/0.8702, 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.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000489/0.000489, allocations: 19.97 kB / 250.6 MB, free: 4.383 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1727, allocations: 33.35 MB / 283.9 MB, free: 1.742 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.935/2.108, allocations: 307.3 MB / 0.5774 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/2.136, allocations: 27.69 MB / 0.6044 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/2.136, allocations: 5.969 kB / 0.6044 GB, free: 4.582 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.0004021/2.137, allocations: 112.1 kB / 0.6045 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/2.137, allocations: 110.8 kB / 0.6046 GB, free: 4.465 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.02257/2.159, allocations: 8.588 MB / 0.613 GB, free: 108 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007655/2.16, allocations: 443.8 kB / 0.6134 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/2.16, allocations: 158.5 kB / 0.6136 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/2.161, allocations: 204.4 kB / 0.6138 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/2.161, allocations: 188.7 kB / 0.6139 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/2.161, allocations: 30.62 kB / 0.614 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0305/2.192, allocations: 14.98 MB / 0.6286 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/2.192, allocations: 187.3 kB / 0.6288 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/2.192, allocations: 218.4 kB / 0.629 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02149/2.214, allocations: 7.986 MB / 0.6368 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/2.214, allocations: 2.031 kB / 0.6368 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/2.214, allocations: 0 / 0.6368 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.093e-05/2.214, allocations: 0 / 0.6368 GB, free: 8.551 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.00492/2.219, allocations: 1.853 MB / 0.6386 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/2.219, allocations: 8.031 kB / 0.6386 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.85e-05/2.219, allocations: 9.875 kB / 0.6386 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.149e-05/2.219, allocations: 75.16 kB / 0.6387 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/2.219, allocations: 91.39 kB / 0.6388 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/2.22, allocations: 375.1 kB / 0.6391 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/2.22, allocations: 20.66 kB / 0.6392 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/2.22, allocations: 32 kB / 0.6392 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/2.22, allocations: 481.3 kB / 0.6396 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/2.221, allocations: 4 kB / 0.6396 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/2.221, allocations: 8 kB / 0.6397 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/2.221, allocations: 8 kB / 0.6397 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009754/2.222, allocations: 0.4905 MB / 0.6401 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/2.224, allocations: 1.549 MB / 0.6417 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/2.225, allocations: 0.5072 MB / 0.6422 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/2.225, allocations: 199.1 kB / 0.6423 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07664/2.302, allocations: 22.61 MB / 0.6644 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/2.302, allocations: 34.56 kB / 0.6645 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.335e-06/2.302, allocations: 0 / 0.6645 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003237/2.305, allocations: 0.9756 MB / 0.6654 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/2.305, allocations: 59.41 kB / 0.6655 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/2.306, allocations: 0.8295 MB / 0.6663 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/2.306, allocations: 29.7 kB / 0.6663 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/2.307, allocations: 396.5 kB / 0.6667 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/2.307, allocations: 122.9 kB / 0.6668 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/2.307, allocations: 73.97 kB / 0.6669 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/2.307, allocations: 326 kB / 0.6672 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/2.307, allocations: 208.6 kB / 0.6674 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/2.308, allocations: 273.4 kB / 0.6676 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/2.309, allocations: 467.4 kB / 0.6681 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/2.309, allocations: 0 / 0.6681 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001369/2.31, allocations: 0.6851 MB / 0.6688 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/2.31, allocations: 7.938 kB / 0.6688 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/2.31, allocations: 0.5625 kB / 0.6688 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/2.315, allocations: 0.6457 MB / 0.6694 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/2.315, allocations: 55.95 kB / 0.6694 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000982/2.316, allocations: 0.7751 MB / 0.6702 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/2.316, allocations: 64.7 kB / 0.6703 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/2.316, allocations: 19.98 kB / 0.6703 GB, free: 5.945 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.0003344/2.317, allocations: 242.5 kB / 0.6705 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/2.317, allocations: 83.44 kB / 0.6706 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/2.318, allocations: 0.7938 MB / 0.6714 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00115/2.32, allocations: 0.5914 MB / 0.6719 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/2.32, allocations: 4 kB / 0.672 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/2.32, allocations: 3.984 kB / 0.672 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/2.322, allocations: 1.363 MB / 0.6733 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/2.322, allocations: 4.656 kB / 0.6733 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/2.322, allocations: 43.97 kB / 0.6733 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/2.324, allocations: 400.4 kB / 0.6737 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/2.324, allocations: 8.5 kB / 0.6737 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/2.325, allocations: 0.8076 MB / 0.6745 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.325, allocations: 0 / 0.6745 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/2.326, allocations: 0.7707 MB / 0.6753 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/2.327, allocations: 113.1 kB / 0.6754 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/2.327, allocations: 4 kB / 0.6754 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/2.327, allocations: 27.91 kB / 0.6754 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/2.327, allocations: 27.89 kB / 0.6754 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/2.327, allocations: 12 kB / 0.6754 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007522/2.328, allocations: 0.5849 MB / 0.676 GB, free: 15.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.328, allocations: 0 / 0.676 GB, free: 15.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003009/2.331, allocations: 1.161 MB / 0.6771 GB, free: 14.8 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.006942/2.338, allocations: 2.842 MB / 0.6799 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001447/2.339, allocations: 0.5716 MB / 0.6805 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/2.339, allocations: 0 / 0.6805 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/2.34, allocations: 306 kB / 0.6808 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/2.341, allocations: 86.52 kB / 0.6809 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/2.352, allocations: 6.707 MB / 0.6874 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/2.352, allocations: 382.2 kB / 0.6878 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001869/2.352, allocations: 42.11 kB / 0.6878 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/2.353, allocations: 263.3 kB / 0.6881 GB, free: 3.445 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/2.353, allocations: 0 / 0.6881 GB, free: 3.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09426/2.447, allocations: 51.43 MB / 0.7383 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/18.31, allocations: 13.72 kB / 0.7383 GB, free: 0.7695 MB / 0.5919 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: 20.551468182937242] Failed to read output from testmodel.py, exit status != 0: 18.687186917988583 18.925439513 16.709343291 Calling exit ...