Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.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.TestCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPumpWaterSolution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPumpWaterSolution",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.8564/0.8564, allocations: 150.8 MB / 166.1 MB, free: 15.14 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.654e-05, allocations: 7.938 kB / 204.9 MB, free: 9.598 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 31.99 MB / 236.8 MB, free: 5.5 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.TestCentrifugalPumpWaterSolution): time 1.602/1.752, allocations: 294.7 MB / 0.5191 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/1.768, allocations: 13.45 MB / 0.5322 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/1.768, allocations: 4 kB / 0.5322 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.836e-05/1.768, allocations: 48.12 kB / 0.5323 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/1.768, allocations: 80.92 kB / 0.5323 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006059/1.774, allocations: 2.564 MB / 0.5348 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/1.775, allocations: 350.7 kB / 0.5352 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/1.775, allocations: 236.8 kB / 0.5354 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/1.775, allocations: 111.4 kB / 0.5355 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/1.775, allocations: 132 kB / 0.5356 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.775, allocations: 16 kB / 0.5357 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/1.786, allocations: 7.499 MB / 0.543 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/1.786, allocations: 53.72 kB / 0.543 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/1.786, allocations: 188.7 kB / 0.5432 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/1.79, allocations: 3.524 MB / 0.5466 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.79, allocations: 3.938 kB / 0.5467 GB, free: 1.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/1.79, allocations: 4 kB / 0.5467 GB, free: 1.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.79, allocations: 2.625 kB / 0.5467 GB, free: 1.07 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002093/1.792, allocations: 0.8042 MB / 0.5474 GB, free: 224 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.792, allocations: 8.031 kB / 0.5475 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.703e-05/1.792, allocations: 91.33 kB / 0.5475 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/1.792, allocations: 40.47 kB / 0.5476 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/1.793, allocations: 282 kB / 0.5478 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/1.793, allocations: 37.06 kB / 0.5479 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/1.793, allocations: 48 kB / 0.5479 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/1.793, allocations: 498.9 kB / 0.5484 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.793, allocations: 4 kB / 0.5484 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/1.793, allocations: 20 kB / 0.5484 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/1.793, allocations: 12 kB / 0.5484 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/1.794, allocations: 275.6 kB / 0.5487 GB, free: 14.83 MB / 446.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.006327/1.8, allocations: 4.13 MB / 0.5527 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/1.801, allocations: 138.6 kB / 0.5529 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/1.801, allocations: 64.83 kB / 0.5529 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004345/1.805, allocations: 1.706 MB / 0.5546 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.805, allocations: 34.56 kB / 0.5546 GB, free: 8.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/1.805, allocations: 0 / 0.5546 GB, free: 8.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.00111/1.806, allocations: 363.1 kB / 0.555 GB, free: 8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/1.806, allocations: 55.41 kB / 0.555 GB, free: 7.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/1.807, allocations: 356.3 kB / 0.5554 GB, free: 7.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.807, allocations: 33.64 kB / 0.5554 GB, free: 7.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/1.807, allocations: 224 kB / 0.5556 GB, free: 7.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/1.807, allocations: 51.28 kB / 0.5557 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/1.807, allocations: 37.7 kB / 0.5557 GB, free: 7.215 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/1.807, allocations: 342.8 kB / 0.556 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.807, allocations: 51.97 kB / 0.5561 GB, free: 6.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/1.807, allocations: 176.5 kB / 0.5562 GB, free: 6.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/1.808, allocations: 251.2 kB / 0.5565 GB, free: 6.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.808, allocations: 0 / 0.5565 GB, free: 6.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005017/1.808, allocations: 299.5 kB / 0.5568 GB, free: 5.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.808, allocations: 8 kB / 0.5568 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.808, allocations: 4 kB / 0.5568 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/1.809, allocations: 169.2 kB / 0.5569 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.811, allocations: 183.7 kB / 0.5571 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006702/1.812, allocations: 1.185 MB / 0.5583 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/1.812, allocations: 51.42 kB / 0.5583 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/1.812, allocations: 16.16 kB / 0.5583 GB, free: 4.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 17 (refXh2o.C2.b,refXh2o.C1.a,loopBreakerXh20_1.Cs.b,loopBreakerXh20_1.Ce.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,refT.C2.b,refT.C1.a,loopBreakerH.Cs.b,loopBreakerH.Ce.a,loopBreakerQ.Cs.b,loopBreakerQ.Ce.a,pump.C2.b,pump.C1.a,refP.C2.b,refP.C1.a,pump.commandePompe.signal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001597/1.812, allocations: 169.3 kB / 0.5585 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/1.812, allocations: 31.62 kB / 0.5585 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006004/1.813, allocations: 229.1 kB / 0.5587 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.813, allocations: 0 / 0.5587 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.813, allocations: 3.938 kB / 0.5587 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.813, allocations: 3.984 kB / 0.5588 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/1.813, allocations: 325.5 kB / 0.5591 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.813, allocations: 0 / 0.5591 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.815, allocations: 171.8 kB / 0.5592 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/1.815, allocations: 108.7 kB / 0.5593 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.815, allocations: 8.047 kB / 0.5593 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006435/1.816, allocations: 1.181 MB / 0.5605 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.816, allocations: 160 / 0.5605 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/1.816, allocations: 309.1 kB / 0.5608 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.816, allocations: 120.6 kB / 0.5609 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/1.817, allocations: 0 / 0.5609 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/1.817, allocations: 15.94 kB / 0.5609 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/1.817, allocations: 7.984 kB / 0.5609 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/1.817, allocations: 4 kB / 0.5609 GB, free: 1.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002423/1.817, allocations: 239 kB / 0.5612 GB, free: 1.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.817, allocations: 0 / 0.5612 GB, free: 1.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00142/1.818, allocations: 419.6 kB / 0.5616 GB, free: 0.8789 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002258/1.821, allocations: 1.251 MB / 0.5628 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.833, allocations: 0.799 MB / 0.5636 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.833, allocations: 3.938 kB / 0.5636 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01045/1.843, allocations: 0.5799 MB / 0.5641 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/1.844, allocations: 63.56 kB / 0.5642 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/1.848, allocations: 3.368 MB / 0.5675 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.848, allocations: 0.7756 MB / 0.5682 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.714e-05/1.848, allocations: 28.66 kB / 0.5683 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.848, allocations: 103.4 kB / 0.5684 GB, free: 9.66 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/1.848, allocations: 0 / 0.5684 GB, free: 9.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/1.879, allocations: 17.63 MB / 0.5856 GB, free: 8.305 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.879, allocations: 261.8 kB / 0.5858 GB, free: 8.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/4.028, allocations: 0 / 0.5858 GB, free: 8.043 MB / 478.1 MB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPumpWaterSolution_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPumpWaterSolution.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe 2>&1)