Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.8036/0.8036, allocations: 153.9 MB / 173.5 MB, free: 4.969 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.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004691, allocations: 15.98 kB / 250.6 MB, free: 4.457 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 33.35 MB / 284 MB, free: 1.855 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.TestStaticCentrifugalPumpWaterSolution): time 1.745/1.914, allocations: 307 MB / 0.5771 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/1.926, allocations: 12.19 MB / 0.589 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/1.926, allocations: 5.781 kB / 0.5891 GB, free: 13.69 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16: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/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83: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/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48:16: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/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83: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/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83:writable] Warning: Connector Cs 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/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16:writable] Warning: Connector Ce 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.0001193/1.926, allocations: 28.77 kB / 0.5891 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/1.926, allocations: 65.16 kB / 0.5891 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006989/1.933, allocations: 3.495 MB / 0.5926 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/1.934, allocations: 257.9 kB / 0.5928 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/1.934, allocations: 125.3 kB / 0.5929 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/1.934, allocations: 100.9 kB / 0.593 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/1.934, allocations: 125.2 kB / 0.5931 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/1.934, allocations: 26.38 kB / 0.5932 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/1.946, allocations: 7.669 MB / 0.6007 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-05/1.946, allocations: 59.89 kB / 0.6007 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/1.946, allocations: 127.4 kB / 0.6008 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005293/1.951, allocations: 3.408 MB / 0.6042 GB, free: 7.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.951, allocations: 1.938 kB / 0.6042 GB, free: 7.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/1.951, allocations: 0 / 0.6042 GB, free: 7.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/1.951, allocations: 0 / 0.6042 GB, free: 7.898 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001926/1.953, allocations: 0.7628 MB / 0.6049 GB, free: 7.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.953, allocations: 14.09 kB / 0.6049 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.089e-05/1.953, allocations: 6.406 kB / 0.6049 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/1.954, allocations: 57.05 kB / 0.605 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/1.954, allocations: 35.97 kB / 0.605 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/1.954, allocations: 172 kB / 0.6052 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/1.954, allocations: 20.03 kB / 0.6052 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/1.954, allocations: 26.44 kB / 0.6052 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/1.954, allocations: 289.1 kB / 0.6055 GB, free: 6.859 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.954, allocations: 5.094 kB / 0.6055 GB, free: 6.859 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.954, allocations: 15.25 kB / 0.6055 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.954, allocations: 5.562 kB / 0.6055 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/1.955, allocations: 187.2 kB / 0.6057 GB, free: 6.77 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005453/1.96, allocations: 2.554 MB / 0.6082 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/1.961, allocations: 171.3 kB / 0.6084 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/1.961, allocations: 65.47 kB / 0.6084 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003985/1.965, allocations: 1.286 MB / 0.6097 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/1.965, allocations: 157.5 kB / 0.6098 GB, free: 4.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/1.965, allocations: 0 / 0.6098 GB, free: 4.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005963/1.966, allocations: 271.6 kB / 0.6101 GB, free: 3.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.966, allocations: 106.8 kB / 0.6102 GB, free: 3.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/1.966, allocations: 265.8 kB / 0.6104 GB, free: 3.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/1.966, allocations: 37.7 kB / 0.6105 GB, free: 3.367 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.966, allocations: 160.2 kB / 0.6106 GB, free: 3.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/1.966, allocations: 51.59 kB / 0.6107 GB, free: 3.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/1.966, allocations: 56.69 kB / 0.6107 GB, free: 3.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/1.966, allocations: 338.8 kB / 0.6111 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.966, allocations: 56.77 kB / 0.6111 GB, free: 2.699 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/1.967, allocations: 128.2 kB / 0.6112 GB, free: 2.551 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/1.969, allocations: 0.6309 MB / 0.6119 GB, free: 1.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/1.969, allocations: 0.75 kB / 0.6119 GB, free: 1.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004313/1.969, allocations: 280.2 kB / 0.6121 GB, free: 1.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.969, allocations: 36.58 kB / 0.6122 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.969, allocations: 4 kB / 0.6122 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.969, allocations: 4 kB / 0.6122 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.971, allocations: 212.2 kB / 0.6124 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000206/1.971, allocations: 0.5899 MB / 0.6129 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/1.971, allocations: 43.75 kB / 0.613 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/1.971, allocations: 4 kB / 0.613 GB, free: 0.6992 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001514/1.971, allocations: 182.1 kB / 0.6132 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/1.971, allocations: 23.86 kB / 0.6132 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/1.972, allocations: 241.1 kB / 0.6134 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.972, allocations: 7.938 kB / 0.6134 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.972, allocations: 1.25 kB / 0.6134 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.972, allocations: 3.984 kB / 0.6134 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/1.972, allocations: 264.5 kB / 0.6137 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.972, allocations: 0.75 kB / 0.6137 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.973, allocations: 197.2 kB / 0.6139 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.973, allocations: 4 kB / 0.6139 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.973, allocations: 5.375 kB / 0.6139 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003548/1.974, allocations: 0.5894 MB / 0.6144 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.974, allocations: 0 / 0.6144 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/1.974, allocations: 252.6 kB / 0.6147 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/1.974, allocations: 46.03 kB / 0.6147 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/1.974, allocations: 4 kB / 0.6147 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.974, allocations: 15.36 kB / 0.6148 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/1.975, allocations: 19.97 kB / 0.6148 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/1.975, allocations: 7.938 kB / 0.6148 GB, free: 14.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000185/1.975, allocations: 185.2 kB / 0.615 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/1.975, allocations: 1.688 kB / 0.615 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001415/1.976, allocations: 403.4 kB / 0.6153 GB, free: 14.19 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/1.978, allocations: 1.203 MB / 0.6165 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01052/1.989, allocations: 0.8988 MB / 0.6174 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.989, allocations: 0 / 0.6174 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009128/1.998, allocations: 0.641 MB / 0.618 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.998, allocations: 41.86 kB / 0.6181 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/2.003, allocations: 2.614 MB / 0.6206 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/2.003, allocations: 0.7489 MB / 0.6213 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.5e-05/2.003, allocations: 23.83 kB / 0.6214 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/2.003, allocations: 75.41 kB / 0.6214 GB, free: 7.789 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/2.003, allocations: 3.938 kB / 0.6214 GB, free: 7.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/2.048, allocations: 16.5 MB / 0.6376 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.74, allocations: 13.16 kB / 0.6376 GB, free: 7.93 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.46128803305328] Failed to read output from testmodel.py, exit status != 0: 15.072891431977041 15.087166429 13.132780212 Calling exit ...