Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 105.6 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 191 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7117/0.7117, allocations: 115.3 MB / 406.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 55.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3022, allocations: 76.16 MB / 0.556 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004335/0.3066, allocations: 3.761 MB / 0.5597 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.3067, allocations: 149.8 kB / 0.5598 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.3068, allocations: 0 / 0.5598 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.3069, allocations: 7.797 kB / 0.5598 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.3069, allocations: 13.56 kB / 0.5598 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3072, allocations: 83.31 kB / 0.5599 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.3073, allocations: 38.42 kB / 0.56 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.3074, allocations: 2.188 kB / 0.56 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.3074, allocations: 14.92 kB / 0.56 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.3075, allocations: 13.25 kB / 0.56 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.3075, allocations: 1.75 kB / 0.56 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.3079, allocations: 176.9 kB / 0.5602 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.308, allocations: 16.45 kB / 0.5602 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.308, allocations: 8.391 kB / 0.5602 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.3081, allocations: 51.45 kB / 0.5602 GB, free: 33.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3081, allocations: 0 / 0.5602 GB, free: 33.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3082, allocations: 0 / 0.5602 GB, free: 33.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3082, allocations: 2.844 kB / 0.5602 GB, free: 33.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000286/0.3085, allocations: 337.6 kB / 0.5605 GB, free: 32.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3085, allocations: 9.906 kB / 0.5606 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.576e-05/0.3085, allocations: 32.22 kB / 0.5606 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.3086, allocations: 3.094 kB / 0.5606 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.361e-05/0.3086, allocations: 170 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.3087, allocations: 28.92 kB / 0.5608 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.3087, allocations: 9.594 kB / 0.5608 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3088, allocations: 40.27 kB / 0.5608 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3088, allocations: 1.188 kB / 0.5608 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3089, allocations: 1.562 kB / 0.5608 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3089, allocations: 1.438 kB / 0.5608 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.3089, allocations: 17.97 kB / 0.5609 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3093, allocations: 337.4 kB / 0.5612 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.996e-05/0.3093, allocations: 19.91 kB / 0.5612 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.166e-05/0.3093, allocations: 5.891 kB / 0.5612 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.247e-05/0.3094, allocations: 84.12 kB / 0.5613 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3094, allocations: 33.98 kB / 0.5613 GB, free: 32.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.3094, allocations: 0.75 kB / 0.5613 GB, free: 32.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.3096, allocations: 45.16 kB / 0.5614 GB, free: 32.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.3096, allocations: 53.03 kB / 0.5614 GB, free: 31.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.3096, allocations: 104.1 kB / 0.5615 GB, free: 31.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3097, allocations: 26.92 kB / 0.5615 GB, free: 31.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.3097, allocations: 86.98 kB / 0.5616 GB, free: 31.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.3097, allocations: 4.5 kB / 0.5616 GB, free: 31.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.3097, allocations: 19.56 kB / 0.5616 GB, free: 31.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.3098, allocations: 322.4 kB / 0.5619 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3098, allocations: 6.859 kB / 0.5619 GB, free: 31.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.3098, allocations: 17.19 kB / 0.562 GB, free: 31.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.3099, allocations: 25.11 kB / 0.562 GB, free: 31.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3099, allocations: 2.562 kB / 0.562 GB, free: 31.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.363e-05/0.3099, allocations: 44.81 kB / 0.562 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3099, allocations: 6.094 kB / 0.562 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.31, allocations: 3 kB / 0.562 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.31, allocations: 0.5625 kB / 0.562 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.31, allocations: 6.438 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.31, allocations: 4.594 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.31, allocations: 1.438 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3101, allocations: 3.484 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.3101, allocations: 113.4 kB / 0.5622 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3101, allocations: 5.734 kB / 0.5622 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.3102, allocations: 121.1 kB / 0.5623 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.3103, allocations: 182.6 kB / 0.5625 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/0.3103, allocations: 179.2 kB / 0.5626 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.417e-05/0.3103, allocations: 178.1 kB / 0.5628 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3105, allocations: 414.2 kB / 0.5632 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.3105, allocations: 107.4 kB / 0.5633 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.3105, allocations: 109.5 kB / 0.5634 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/0.3105, allocations: 182.9 kB / 0.5636 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.3106, allocations: 178.9 kB / 0.5638 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/0.3106, allocations: 183.3 kB / 0.5639 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-05/0.3106, allocations: 178 kB / 0.5641 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.752e-05/0.3107, allocations: 312.4 kB / 0.5644 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.3107, allocations: 184.6 kB / 0.5646 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.3108, allocations: 183.5 kB / 0.5647 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3109, allocations: 107.5 kB / 0.5648 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.3109, allocations: 182.3 kB / 0.565 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.311, allocations: 101.5 kB / 0.5651 GB, free: 28.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.311, allocations: 87.12 kB / 0.5652 GB, free: 27.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.311, allocations: 0.5625 kB / 0.5652 GB, free: 27.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.3113, allocations: 19.75 kB / 0.5652 GB, free: 27.95 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.3116, allocations: 0.8398 MB / 0.566 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.3117, allocations: 8.344 kB / 0.566 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3117, allocations: 0.9688 kB / 0.566 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.3117, allocations: 5.344 kB / 0.5661 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.312, allocations: 464.4 kB / 0.5665 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.3128, allocations: 1.322 MB / 0.5678 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3129, allocations: 0.6744 MB / 0.5684 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.313, allocations: 8.594 kB / 0.5685 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.313, allocations: 8.781 kB / 0.5685 GB, free: 24.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.313, allocations: 0 / 0.5685 GB, free: 24.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3558/0.6688, allocations: 1.435 MB / 0.5699 GB, free: 24.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.669, allocations: 222.4 kB / 0.5701 GB, free: 24.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.99, allocations: 3.375 kB / 0.5701 GB, free: 24.2 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)