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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8488/0.8488, allocations: 152.6 MB / 168.9 MB, free: 15.04 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000507/0.000507, allocations: 15.02 kB / 244.5 MB, free: 15.94 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07406/0.07456, allocations: 33.07 MB / 277.5 MB, free: 1.141 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.705/1.78, allocations: 300.8 MB / 0.5648 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/1.796, allocations: 12.08 MB / 0.5766 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/1.796, allocations: 3.938 kB / 0.5766 GB, free: 6.531 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0001417/1.796, allocations: 31.66 kB / 0.5766 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/1.797, allocations: 63.42 kB / 0.5767 GB, free: 6.438 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008905/1.805, allocations: 3.484 MB / 0.5801 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/1.806, allocations: 255.3 kB / 0.5803 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/1.806, allocations: 127.6 kB / 0.5805 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/1.806, allocations: 99.64 kB / 0.5805 GB, free: 2.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/1.806, allocations: 131.4 kB / 0.5807 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/1.806, allocations: 24 kB / 0.5807 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/1.819, allocations: 7.654 MB / 0.5882 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/1.819, allocations: 59.75 kB / 0.5882 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/1.819, allocations: 131.3 kB / 0.5884 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005859/1.825, allocations: 3.41 MB / 0.5917 GB, free: 7.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/1.825, allocations: 3.938 kB / 0.5917 GB, free: 7.051 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.825, allocations: 0 / 0.5917 GB, free: 7.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/1.825, allocations: 0 / 0.5917 GB, free: 7.051 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.001973/1.827, allocations: 0.8201 MB / 0.5925 GB, free: 6.176 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.827, allocations: 8.031 kB / 0.5925 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.059e-05/1.827, allocations: 66.72 kB / 0.5926 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/1.827, allocations: 36.69 kB / 0.5926 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/1.828, allocations: 235.9 kB / 0.5928 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/1.828, allocations: 16.94 kB / 0.5928 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/1.828, allocations: 24.38 kB / 0.5929 GB, free: 5.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/1.828, allocations: 287.8 kB / 0.5931 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.828, allocations: 0 / 0.5931 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/1.828, allocations: 12 kB / 0.5931 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.828, allocations: 8 kB / 0.5932 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/1.829, allocations: 181.6 kB / 0.5933 GB, free: 5.246 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.006292/1.835, allocations: 3.035 MB / 0.5963 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/1.836, allocations: 174.8 kB / 0.5965 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/1.836, allocations: 64.81 kB / 0.5965 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/1.84, allocations: 1.713 MB / 0.5982 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/1.841, allocations: 164.8 kB / 0.5983 GB, free: 15.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/1.841, allocations: 0 / 0.5983 GB, free: 15.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006966/1.841, allocations: 259.2 kB / 0.5986 GB, free: 15.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/1.841, allocations: 106.8 kB / 0.5987 GB, free: 15.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/1.842, allocations: 262.6 kB / 0.5989 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.842, allocations: 37.7 kB / 0.599 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.842, allocations: 160.3 kB / 0.5991 GB, free: 14.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/1.842, allocations: 55.58 kB / 0.5992 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/1.842, allocations: 53.69 kB / 0.5992 GB, free: 14.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/1.842, allocations: 334.8 kB / 0.5996 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.842, allocations: 60.2 kB / 0.5996 GB, free: 14.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/1.842, allocations: 127.2 kB / 0.5997 GB, free: 14.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/1.845, allocations: 0.6216 MB / 0.6003 GB, free: 13.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.845, allocations: 4 kB / 0.6003 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000548/1.846, allocations: 275 kB / 0.6006 GB, free: 13.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/1.846, allocations: 36.42 kB / 0.6006 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.846, allocations: 4 kB / 0.6006 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/1.846, allocations: 4 kB / 0.6007 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.847, allocations: 215.6 kB / 0.6009 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000421/1.847, allocations: 0.5976 MB / 0.6014 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/1.848, allocations: 35.77 kB / 0.6015 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.848, allocations: 12 kB / 0.6015 GB, free: 12.33 MB / 494.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.0002295/1.848, allocations: 190.7 kB / 0.6017 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/1.848, allocations: 23.86 kB / 0.6017 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/1.848, allocations: 241 kB / 0.6019 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.848, allocations: 7.938 kB / 0.6019 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.848, allocations: 0 / 0.6019 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.848, allocations: 3.984 kB / 0.6019 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/1.849, allocations: 293.4 kB / 0.6022 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.849, allocations: 0 / 0.6022 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/1.85, allocations: 199.7 kB / 0.6024 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.85, allocations: 0 / 0.6024 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/1.85, allocations: 12 kB / 0.6024 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003582/1.851, allocations: 0.5821 MB / 0.603 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.851, allocations: 3.938 kB / 0.603 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/1.851, allocations: 266.5 kB / 0.6032 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/1.851, allocations: 108.9 kB / 0.6033 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/1.851, allocations: 8 kB / 0.6034 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/1.851, allocations: 15.98 kB / 0.6034 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/1.851, allocations: 19.97 kB / 0.6034 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/1.851, allocations: 8 kB / 0.6034 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001804/1.852, allocations: 182 kB / 0.6036 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.852, allocations: 0 / 0.6036 GB, free: 10.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001112/1.853, allocations: 403.4 kB / 0.604 GB, free: 9.668 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.002353/1.855, allocations: 1.205 MB / 0.6051 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.865, allocations: 0.8852 MB / 0.606 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.865, allocations: 4.062 kB / 0.606 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00872/1.874, allocations: 0.6393 MB / 0.6066 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/1.874, allocations: 44.42 kB / 0.6067 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/1.879, allocations: 2.616 MB / 0.6092 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.879, allocations: 0.744 MB / 0.6099 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/1.879, allocations: 29.89 kB / 0.61 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.879, allocations: 75.41 kB / 0.61 GB, free: 3.203 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/1.879, allocations: 0 / 0.61 GB, free: 3.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/1.928, allocations: 16.25 MB / 0.6259 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.88, allocations: 4 kB / 0.6259 GB, free: 3.145 MB / 0.4981 GB " [Timeout remaining time 646] (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: 15.962560262996703] Failed to read output from testmodel.py, exit status != 0: 14.360315335914493 14.369602199000001 12.542274662 Calling exit ...