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.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.56e-05, allocations: 4 kB / 204.9 MB, free: 9.949 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1385, allocations: 31.99 MB / 236.8 MB, free: 5.406 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.498/1.636, allocations: 294.3 MB / 0.5187 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.015/1.651, allocations: 13.43 MB / 0.5318 GB, free: 212 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/1.652, allocations: 0 / 0.5318 GB, free: 212 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.133e-05/1.652, allocations: 20.67 kB / 0.5318 GB, free: 192 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/1.652, allocations: 57.2 kB / 0.5319 GB, free: 136 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005932/1.658, allocations: 2.549 MB / 0.5343 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/1.658, allocations: 239.4 kB / 0.5346 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/1.658, allocations: 142 kB / 0.5347 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/1.658, allocations: 79.66 kB / 0.5348 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/1.659, allocations: 99.42 kB / 0.5349 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/1.659, allocations: 8 kB / 0.5349 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.669, allocations: 7.499 MB / 0.5422 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/1.669, allocations: 36.97 kB / 0.5422 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/1.67, allocations: 133 kB / 0.5424 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004231/1.674, allocations: 3.368 MB / 0.5457 GB, free: 2.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.674, allocations: 0.75 kB / 0.5457 GB, free: 2.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/1.674, allocations: 0 / 0.5457 GB, free: 2.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/1.674, allocations: 2.031 kB / 0.5457 GB, free: 2.004 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.001745/1.676, allocations: 0.7702 MB / 0.5464 GB, free: 1.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.676, allocations: 8.031 kB / 0.5464 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/1.676, allocations: 62.67 kB / 0.5465 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/1.676, allocations: 32.56 kB / 0.5465 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/1.676, allocations: 240.9 kB / 0.5467 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.676, allocations: 17.81 kB / 0.5468 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/1.676, allocations: 20.38 kB / 0.5468 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/1.677, allocations: 304.7 kB / 0.5471 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.677, allocations: 0 / 0.5471 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/1.677, allocations: 11.94 kB / 0.5471 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.677, allocations: 4 kB / 0.5471 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/1.677, allocations: 200.4 kB / 0.5473 GB, free: 248 kB / 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.005603/1.683, allocations: 3.03 MB / 0.5502 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/1.683, allocations: 195.9 kB / 0.5504 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.684, allocations: 80.77 kB / 0.5505 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004153/1.688, allocations: 1.706 MB / 0.5522 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/1.688, allocations: 153 kB / 0.5523 GB, free: 10.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/1.688, allocations: 0 / 0.5523 GB, free: 10.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006786/1.689, allocations: 280.1 kB / 0.5526 GB, free: 10.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.689, allocations: 110.8 kB / 0.5527 GB, free: 10.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/1.689, allocations: 266.5 kB / 0.5529 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.689, allocations: 33.7 kB / 0.553 GB, free: 9.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.689, allocations: 168.1 kB / 0.5531 GB, free: 9.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/1.689, allocations: 51.27 kB / 0.5532 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/1.689, allocations: 33.69 kB / 0.5532 GB, free: 9.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/1.689, allocations: 330.8 kB / 0.5535 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.69, allocations: 72.19 kB / 0.5536 GB, free: 9.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/1.69, allocations: 123.3 kB / 0.5537 GB, free: 9.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/1.692, allocations: 0.6514 MB / 0.5544 GB, free: 8.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.693, allocations: 0 / 0.5544 GB, free: 8.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005356/1.693, allocations: 294.9 kB / 0.5546 GB, free: 8.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/1.693, allocations: 33.7 kB / 0.5547 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.693, allocations: 0 / 0.5547 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.693, allocations: 8.219 kB / 0.5547 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.695, allocations: 211.7 kB / 0.5549 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002956/1.695, allocations: 0.586 MB / 0.5554 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/1.695, allocations: 47.77 kB / 0.5555 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/1.695, allocations: 12 kB / 0.5555 GB, free: 7.266 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.0001859/1.695, allocations: 176.7 kB / 0.5557 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/1.695, allocations: 27.72 kB / 0.5557 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/1.696, allocations: 250.7 kB / 0.5559 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.696, allocations: 7.938 kB / 0.5559 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.696, allocations: 7.984 kB / 0.556 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.696, allocations: 0 / 0.556 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/1.696, allocations: 293.3 kB / 0.5562 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.696, allocations: 0 / 0.5562 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.698, allocations: 179.8 kB / 0.5564 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.698, allocations: 0 / 0.5564 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/1.698, allocations: 15.92 kB / 0.5564 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002621/1.698, allocations: 0.5898 MB / 0.557 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.698, allocations: 0 / 0.557 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/1.699, allocations: 271.5 kB / 0.5573 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/1.699, allocations: 114.3 kB / 0.5574 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/1.699, allocations: 4 kB / 0.5574 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/1.699, allocations: 27.92 kB / 0.5574 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/1.699, allocations: 19.97 kB / 0.5574 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.699, allocations: 7.938 kB / 0.5574 GB, free: 5.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001619/1.699, allocations: 190 kB / 0.5576 GB, free: 4.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.699, allocations: 0 / 0.5576 GB, free: 4.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001054/1.7, allocations: 395.8 kB / 0.558 GB, free: 4.59 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.002382/1.703, allocations: 1.207 MB / 0.5592 GB, free: 3.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01167/1.714, allocations: 0.8729 MB / 0.56 GB, free: 2.469 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.714, allocations: 0 / 0.56 GB, free: 2.469 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/1.724, allocations: 0.648 MB / 0.5606 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/1.725, allocations: 32.56 kB / 0.5607 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/1.729, allocations: 2.751 MB / 0.5634 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/1.729, allocations: 0.7518 MB / 0.5641 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/1.729, allocations: 19.59 kB / 0.5641 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.729, allocations: 71.41 kB / 0.5642 GB, free: 14.04 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/1.729, allocations: 0 / 0.5642 GB, free: 14.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/1.76, allocations: 15.64 MB / 0.5795 GB, free: 14.64 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/1.76, allocations: 265.1 kB / 0.5797 GB, free: 14.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/3.748, allocations: 0 / 0.5797 GB, free: 14.34 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)