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.7978/0.7978, allocations: 150.8 MB / 166.1 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002973, allocations: 15.97 kB / 204.2 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 31.33 MB / 235.6 MB, free: 5.395 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.597/1.741, allocations: 293.3 MB / 0.5165 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/1.755, allocations: 12.27 MB / 0.5285 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/1.755, allocations: 0 / 0.5285 GB, free: 1.828 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 0.0001114/1.755, allocations: 17.48 kB / 0.5285 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/1.756, allocations: 54.17 kB / 0.5286 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00704/1.763, allocations: 3.014 MB / 0.5315 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/1.763, allocations: 251.4 kB / 0.5317 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/1.763, allocations: 159.6 kB / 0.5319 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/1.763, allocations: 104.2 kB / 0.532 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/1.763, allocations: 123.4 kB / 0.5321 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/1.764, allocations: 24.84 kB / 0.5321 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00983/1.773, allocations: 7.506 MB / 0.5395 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/1.773, allocations: 61.55 kB / 0.5395 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/1.774, allocations: 127.3 kB / 0.5397 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003866/1.777, allocations: 3.399 MB / 0.543 GB, free: 3.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.777, allocations: 0 / 0.543 GB, free: 3.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/1.777, allocations: 1.188 kB / 0.543 GB, free: 3.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/1.777, allocations: 0 / 0.543 GB, free: 3.012 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.001671/1.779, allocations: 0.8192 MB / 0.5438 GB, free: 2.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.779, allocations: 12.5 kB / 0.5438 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/1.779, allocations: 54.73 kB / 0.5438 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/1.779, allocations: 30.69 kB / 0.5439 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/1.78, allocations: 236.8 kB / 0.5441 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.78, allocations: 16.94 kB / 0.5441 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/1.78, allocations: 24.38 kB / 0.5441 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/1.78, allocations: 295.9 kB / 0.5444 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.78, allocations: 0 / 0.5444 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/1.78, allocations: 12 kB / 0.5444 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/1.78, allocations: 8 kB / 0.5444 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/1.781, allocations: 183.3 kB / 0.5446 GB, free: 1.223 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.00563/1.786, allocations: 3.011 MB / 0.5475 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/1.787, allocations: 185.3 kB / 0.5477 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/1.787, allocations: 72.81 kB / 0.5478 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004069/1.791, allocations: 1.699 MB / 0.5495 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/1.791, allocations: 149 kB / 0.5496 GB, free: 11.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/1.791, allocations: 0 / 0.5496 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006486/1.792, allocations: 264.3 kB / 0.5498 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.792, allocations: 106.8 kB / 0.5499 GB, free: 11.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/1.792, allocations: 274.5 kB / 0.5502 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.792, allocations: 29.7 kB / 0.5502 GB, free: 11.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/1.793, allocations: 152.2 kB / 0.5504 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/1.793, allocations: 59.19 kB / 0.5504 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/1.793, allocations: 49.7 kB / 0.5505 GB, free: 10.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/1.793, allocations: 334.8 kB / 0.5508 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/1.793, allocations: 72.19 kB / 0.5509 GB, free: 10.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/1.793, allocations: 119.2 kB / 0.551 GB, free: 10.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/1.796, allocations: 0.6326 MB / 0.5516 GB, free: 9.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.796, allocations: 0 / 0.5516 GB, free: 9.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005181/1.796, allocations: 278.8 kB / 0.5519 GB, free: 9.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/1.796, allocations: 34.8 kB / 0.5519 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/1.796, allocations: 0 / 0.5519 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.797, allocations: 4 kB / 0.5519 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.798, allocations: 211.9 kB / 0.5521 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000311/1.798, allocations: 0.5937 MB / 0.5527 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/1.799, allocations: 47.78 kB / 0.5527 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/1.799, allocations: 12 kB / 0.5527 GB, free: 8.422 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.0001771/1.799, allocations: 174.9 kB / 0.5529 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/1.799, allocations: 27.7 kB / 0.5529 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/1.799, allocations: 241.4 kB / 0.5532 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.799, allocations: 7.938 kB / 0.5532 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.799, allocations: 4 kB / 0.5532 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.799, allocations: 0 / 0.5532 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/1.8, allocations: 293.4 kB / 0.5535 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.8, allocations: 0 / 0.5535 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.801, allocations: 199.7 kB / 0.5537 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.801, allocations: 0 / 0.5537 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/1.801, allocations: 11.98 kB / 0.5537 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000266/1.801, allocations: 0.5859 MB / 0.5542 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.801, allocations: 4.094 kB / 0.5542 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/1.802, allocations: 255.5 kB / 0.5545 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/1.802, allocations: 116.7 kB / 0.5546 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/1.802, allocations: 4 kB / 0.5546 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.802, allocations: 15.98 kB / 0.5546 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/1.802, allocations: 19.97 kB / 0.5546 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/1.802, allocations: 4.656 kB / 0.5546 GB, free: 6.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001574/1.802, allocations: 186 kB / 0.5548 GB, free: 6.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.802, allocations: 0 / 0.5548 GB, free: 6.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009351/1.803, allocations: 399.8 kB / 0.5552 GB, free: 5.77 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.002051/1.805, allocations: 1.196 MB / 0.5564 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.816, allocations: 0.9018 MB / 0.5572 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.816, allocations: 0 / 0.5572 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009259/1.825, allocations: 0.655 MB / 0.5579 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/1.825, allocations: 44.5 kB / 0.5579 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/1.83, allocations: 2.692 MB / 0.5606 GB, free: 116 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/1.83, allocations: 0.7479 MB / 0.5613 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.938e-05/1.83, allocations: 21.95 kB / 0.5613 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.83, allocations: 71.41 kB / 0.5614 GB, free: 15.25 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/1.83, allocations: 4 kB / 0.5614 GB, free: 15.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/1.859, allocations: 15.92 MB / 0.5769 GB, free: 15.59 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/1.86, allocations: 266.1 kB / 0.5772 GB, free: 15.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/4.132, allocations: 0 / 0.5772 GB, free: 15.27 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)