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.0009966/0.0009967, allocations: 103 kB / 16.27 MB, free: 5.957 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.001116/0.001116, allocations: 186.9 kB / 17.19 MB, free: 5.594 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7592/0.7592, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4007, allocations: 77.91 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007004/0.4078, allocations: 3.714 MB / 0.5709 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.408, allocations: 154.5 kB / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.4081, allocations: 1.156 kB / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.4082, allocations: 1.031 kB / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.4083, allocations: 15.62 kB / 0.5711 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.4086, allocations: 82.77 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.4087, allocations: 31.52 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.4088, allocations: 2.156 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.4088, allocations: 20.39 kB / 0.5712 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.4089, allocations: 16.62 kB / 0.5712 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.4089, allocations: 1.062 kB / 0.5712 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.4094, allocations: 188.1 kB / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.4095, allocations: 11.23 kB / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.4095, allocations: 6.969 kB / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.4096, allocations: 45.52 kB / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4097, allocations: 0 / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4097, allocations: 0 / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.4097, allocations: 0 / 0.5714 GB, free: 29.75 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.00034/0.41, allocations: 342.7 kB / 0.5718 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4101, allocations: 10.38 kB / 0.5718 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.4101, allocations: 33.5 kB / 0.5718 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.4102, allocations: 3.5 kB / 0.5718 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.4102, allocations: 162.5 kB / 0.572 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.4103, allocations: 29 kB / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.4103, allocations: 5.375 kB / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.4105, allocations: 51.61 kB / 0.5721 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4105, allocations: 1.344 kB / 0.5721 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4105, allocations: 0.7031 kB / 0.5721 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.4105, allocations: 2.219 kB / 0.5721 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.4106, allocations: 16.78 kB / 0.5721 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.411, allocations: 337.7 kB / 0.5724 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.534e-05/0.4111, allocations: 18.02 kB / 0.5724 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.4111, allocations: 10.77 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.4112, allocations: 84.55 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.4112, allocations: 33.03 kB / 0.5725 GB, free: 28.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.4112, allocations: 0 / 0.5725 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.4114, allocations: 39.44 kB / 0.5726 GB, free: 28.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.4114, allocations: 51.41 kB / 0.5726 GB, free: 28.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.4115, allocations: 101.3 kB / 0.5727 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.4115, allocations: 29.7 kB / 0.5728 GB, free: 28.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.4115, allocations: 86.77 kB / 0.5728 GB, free: 28.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.4115, allocations: 5.531 kB / 0.5728 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4116, allocations: 15.95 kB / 0.5729 GB, free: 28.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.4116, allocations: 329.2 kB / 0.5732 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.4117, allocations: 4.656 kB / 0.5732 GB, free: 27.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.4117, allocations: 15.38 kB / 0.5732 GB, free: 27.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.4117, allocations: 21.8 kB / 0.5732 GB, free: 27.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4117, allocations: 0.625 kB / 0.5732 GB, free: 27.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.111e-05/0.4118, allocations: 52.38 kB / 0.5733 GB, free: 27.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4118, allocations: 5.188 kB / 0.5733 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4118, allocations: 0 / 0.5733 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4119, allocations: 6 kB / 0.5733 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.4119, allocations: 6.516 kB / 0.5733 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4119, allocations: 0.7812 kB / 0.5733 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.412, allocations: 5.281 kB / 0.5733 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.412, allocations: 7.078 kB / 0.5733 GB, free: 27.79 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 6.172e-05/0.412, allocations: 114.2 kB / 0.5734 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.4121, allocations: 1.438 kB / 0.5734 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.4122, allocations: 123.1 kB / 0.5735 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.4122, allocations: 182.4 kB / 0.5737 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-05/0.4123, allocations: 181.7 kB / 0.5739 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.4123, allocations: 185.3 kB / 0.574 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.4125, allocations: 412 kB / 0.5744 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.4125, allocations: 108.6 kB / 0.5745 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.4125, allocations: 101.8 kB / 0.5746 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/0.4125, allocations: 183.1 kB / 0.5748 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.4126, allocations: 182.1 kB / 0.575 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.731e-05/0.4126, allocations: 184.5 kB / 0.5752 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-05/0.4126, allocations: 177.1 kB / 0.5753 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.467e-05/0.4127, allocations: 312 kB / 0.5756 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.4128, allocations: 181.1 kB / 0.5758 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.4128, allocations: 185.2 kB / 0.576 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.413, allocations: 105.7 kB / 0.5761 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.413, allocations: 179.6 kB / 0.5762 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.413, allocations: 106.8 kB / 0.5763 GB, free: 24.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.4131, allocations: 86.86 kB / 0.5764 GB, free: 24.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4131, allocations: 0 / 0.5764 GB, free: 24.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.4133, allocations: 15.53 kB / 0.5764 GB, free: 24.42 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.0003613/0.4137, allocations: 0.841 MB / 0.5773 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.346e-05/0.4138, allocations: 12.12 kB / 0.5773 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4138, allocations: 0 / 0.5773 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.4138, allocations: 0 / 0.5773 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4141, allocations: 465.9 kB / 0.5777 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.4149, allocations: 1.325 MB / 0.579 GB, free: 21.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.415, allocations: 0.6755 MB / 0.5797 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.276e-05/0.4151, allocations: 8.375 kB / 0.5797 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.4151, allocations: 14.22 kB / 0.5797 GB, free: 21.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4151, allocations: 0 / 0.5797 GB, free: 21.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.4412, allocations: 1.496 MB / 0.5812 GB, free: 20.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/8.162, allocations: 13.95 kB / 0.5812 GB, free: 20.79 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)