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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7864/0.7864, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 15.97 kB / 204.1 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 31.33 MB / 235.4 MB, free: 5.441 MB / 190.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.525/1.667, allocations: 293.3 MB / 0.5164 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/1.682, allocations: 13.58 MB / 0.5296 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/1.682, allocations: 0 / 0.5296 GB, free: 0.6172 MB / 414.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 9.993e-05/1.683, allocations: 25.52 kB / 0.5296 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/1.683, allocations: 56.61 kB / 0.5297 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005027/1.688, allocations: 2.554 MB / 0.5322 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/1.688, allocations: 243.4 kB / 0.5324 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/1.688, allocations: 147.7 kB / 0.5326 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/1.688, allocations: 95.58 kB / 0.5327 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/1.688, allocations: 120.1 kB / 0.5328 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/1.688, allocations: 23.16 kB / 0.5328 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009389/1.698, allocations: 7.505 MB / 0.5401 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/1.698, allocations: 47 kB / 0.5402 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/1.698, allocations: 119.3 kB / 0.5403 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003495/1.702, allocations: 3.388 MB / 0.5436 GB, free: 2.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.702, allocations: 0 / 0.5436 GB, free: 2.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.32e-07/1.702, allocations: 4 kB / 0.5436 GB, free: 2.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/1.702, allocations: 0 / 0.5436 GB, free: 2.336 MB / 430.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.001555/1.703, allocations: 0.8087 MB / 0.5444 GB, free: 1.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.703, allocations: 12.03 kB / 0.5444 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/1.703, allocations: 60.98 kB / 0.5445 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/1.703, allocations: 28.56 kB / 0.5445 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.704, allocations: 244.8 kB / 0.5447 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.704, allocations: 17.72 kB / 0.5447 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/1.704, allocations: 24.38 kB / 0.5448 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/1.704, allocations: 291.2 kB / 0.545 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.704, allocations: 4 kB / 0.545 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/1.704, allocations: 8.594 kB / 0.545 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.704, allocations: 8 kB / 0.5451 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/1.705, allocations: 182.7 kB / 0.5452 GB, free: 0.5547 MB / 430.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.005629/1.71, allocations: 3.019 MB / 0.5482 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/1.711, allocations: 184.5 kB / 0.5484 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.711, allocations: 68.83 kB / 0.5484 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004077/1.715, allocations: 1.69 MB / 0.5501 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/1.715, allocations: 145 kB / 0.5502 GB, free: 11.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/1.715, allocations: 0 / 0.5502 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.000701/1.716, allocations: 276.4 kB / 0.5505 GB, free: 10.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.716, allocations: 110.8 kB / 0.5506 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/1.716, allocations: 266.5 kB / 0.5508 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/1.716, allocations: 33.69 kB / 0.5509 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.717, allocations: 156.2 kB / 0.551 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/1.717, allocations: 51.27 kB / 0.5511 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/1.717, allocations: 57.64 kB / 0.5511 GB, free: 10.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.717, allocations: 338.8 kB / 0.5514 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/1.717, allocations: 68.12 kB / 0.5515 GB, free: 9.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/1.717, allocations: 119.3 kB / 0.5516 GB, free: 9.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/1.72, allocations: 0.6254 MB / 0.5522 GB, free: 8.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.72, allocations: 0 / 0.5522 GB, free: 8.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005207/1.72, allocations: 277.3 kB / 0.5525 GB, free: 8.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.72, allocations: 39.11 kB / 0.5525 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.721, allocations: 7.938 kB / 0.5525 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.721, allocations: 4 kB / 0.5525 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.722, allocations: 211.7 kB / 0.5527 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003043/1.722, allocations: 0.5975 MB / 0.5533 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/1.723, allocations: 43.69 kB / 0.5534 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/1.723, allocations: 8 kB / 0.5534 GB, free: 7.668 MB / 446.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.0001818/1.723, allocations: 179.8 kB / 0.5535 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/1.723, allocations: 23.72 kB / 0.5536 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/1.723, allocations: 245.4 kB / 0.5538 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.723, allocations: 3.938 kB / 0.5538 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.723, allocations: 0 / 0.5538 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.723, allocations: 4.844 kB / 0.5538 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/1.724, allocations: 281.5 kB / 0.5541 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.724, allocations: 3.938 kB / 0.5541 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.725, allocations: 195.8 kB / 0.5543 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.725, allocations: 8 kB / 0.5543 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.725, allocations: 3.984 kB / 0.5543 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002571/1.725, allocations: 0.5898 MB / 0.5549 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.725, allocations: 0 / 0.5549 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/1.726, allocations: 263.5 kB / 0.5551 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/1.726, allocations: 114.9 kB / 0.5552 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/1.726, allocations: 4 kB / 0.5552 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.726, allocations: 15.98 kB / 0.5552 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/1.726, allocations: 15.97 kB / 0.5553 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/1.726, allocations: 8 kB / 0.5553 GB, free: 5.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001603/1.727, allocations: 186 kB / 0.5554 GB, free: 5.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.727, allocations: 7.938 kB / 0.5554 GB, free: 5.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009567/1.727, allocations: 403.7 kB / 0.5558 GB, free: 5.012 MB / 446.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.002049/1.73, allocations: 1.197 MB / 0.557 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.741, allocations: 0.8902 MB / 0.5579 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.741, allocations: 0 / 0.5579 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009524/1.75, allocations: 0.6519 MB / 0.5585 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.751, allocations: 33.67 kB / 0.5585 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/1.754, allocations: 2.689 MB / 0.5612 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/1.755, allocations: 0.7492 MB / 0.5619 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/1.755, allocations: 21.95 kB / 0.5619 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.755, allocations: 71.41 kB / 0.562 GB, free: 14.51 MB / 462.1 MB Notification: Performance of SimCode: time 1.854e-06/1.755, allocations: 0 / 0.562 GB, free: 14.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/1.783, allocations: 15.75 MB / 0.5774 GB, free: 15 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.783, allocations: 261 kB / 0.5776 GB, free: 14.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/3.849, allocations: 4 kB / 0.5776 GB, free: 14.68 MB / 478.1 MB (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 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)