Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.001553/0.001554, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.98 kB / 0.5019 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4143, allocations: 80.2 MB / 0.5802 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006056/0.4204, allocations: 3.726 MB / 0.5838 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002285/0.4206, allocations: 153.4 kB / 0.584 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.4207, allocations: 1.25 kB / 0.584 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.4208, allocations: 5.438 kB / 0.584 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.4209, allocations: 12.8 kB / 0.584 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.4213, allocations: 79.45 kB / 0.5841 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.4214, allocations: 41.36 kB / 0.5841 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.4215, allocations: 2.938 kB / 0.5841 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.4215, allocations: 11.41 kB / 0.5841 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.4216, allocations: 16.17 kB / 0.5841 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4217, allocations: 5.156 kB / 0.5841 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.4223, allocations: 189.6 kB / 0.5843 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.4223, allocations: 8.844 kB / 0.5843 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.4224, allocations: 10.12 kB / 0.5843 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.4225, allocations: 43.45 kB / 0.5844 GB, free: 1.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4225, allocations: 0 / 0.5844 GB, free: 1.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4226, allocations: 0.8438 kB / 0.5844 GB, free: 1.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4226, allocations: 0.6562 kB / 0.5844 GB, free: 1.582 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003454/0.4229, allocations: 334.7 kB / 0.5847 GB, free: 1.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.423, allocations: 9.25 kB / 0.5847 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.423, allocations: 35.83 kB / 0.5847 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.423, allocations: 3.266 kB / 0.5847 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.4231, allocations: 166.3 kB / 0.5849 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.4232, allocations: 29.62 kB / 0.5849 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4232, allocations: 4.656 kB / 0.5849 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.4234, allocations: 48.53 kB / 0.585 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4234, allocations: 5.688 kB / 0.585 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4234, allocations: 0 / 0.585 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.4234, allocations: 1.219 kB / 0.585 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.878e-05/0.4235, allocations: 17.17 kB / 0.585 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.4238, allocations: 336.5 kB / 0.5853 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.4239, allocations: 16.92 kB / 0.5853 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.4239, allocations: 10.77 kB / 0.5853 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.915e-05/0.424, allocations: 87.55 kB / 0.5854 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.424, allocations: 36.23 kB / 0.5855 GB, free: 364 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.424, allocations: 0 / 0.5855 GB, free: 364 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.4241, allocations: 33.66 kB / 0.5855 GB, free: 332 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.4242, allocations: 53.06 kB / 0.5855 GB, free: 268 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.4242, allocations: 102.6 kB / 0.5856 GB, free: 164 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.4242, allocations: 25.7 kB / 0.5857 GB, free: 132 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.4243, allocations: 85.95 kB / 0.5858 GB, free: 44 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.4243, allocations: 9.641 kB / 0.5858 GB, free: 36 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.4243, allocations: 18.39 kB / 0.5858 GB, free: 16 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4245, allocations: 316.7 kB / 0.5861 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.4245, allocations: 11.95 kB / 0.5861 GB, free: 15.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.4245, allocations: 19.12 kB / 0.5861 GB, free: 15.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.4246, allocations: 20.98 kB / 0.5861 GB, free: 15.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4246, allocations: 1.062 kB / 0.5861 GB, free: 15.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.761e-05/0.4247, allocations: 53.45 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4247, allocations: 5.625 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4247, allocations: 0.7969 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4247, allocations: 1.281 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.4248, allocations: 4.953 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4248, allocations: 1.828 kB / 0.5862 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.4248, allocations: 8.734 kB / 0.5862 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4248, allocations: 2.547 kB / 0.5862 GB, free: 15.6 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 8.166e-05/0.4249, allocations: 118.2 kB / 0.5863 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.4249, allocations: 1.812 kB / 0.5863 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.4251, allocations: 122.3 kB / 0.5864 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.93e-05/0.4252, allocations: 178.6 kB / 0.5866 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.305e-05/0.4252, allocations: 180.9 kB / 0.5868 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.177e-05/0.4253, allocations: 181.9 kB / 0.587 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.4256, allocations: 416.3 kB / 0.5874 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/0.4257, allocations: 110.4 kB / 0.5875 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.4258, allocations: 106.8 kB / 0.5876 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.4259, allocations: 182.6 kB / 0.5877 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/0.4259, allocations: 177.9 kB / 0.5879 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.36e-05/0.426, allocations: 181.9 kB / 0.5881 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.047e-05/0.4261, allocations: 186 kB / 0.5883 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.4263, allocations: 306 kB / 0.5885 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.4264, allocations: 180.6 kB / 0.5887 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4265, allocations: 186 kB / 0.5889 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4266, allocations: 115.2 kB / 0.589 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.4267, allocations: 178.4 kB / 0.5892 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.4268, allocations: 104.9 kB / 0.5893 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.4268, allocations: 86.94 kB / 0.5894 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4268, allocations: 0.75 kB / 0.5894 GB, free: 12.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4271, allocations: 19.59 kB / 0.5894 GB, free: 12.2 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.0005291/0.4276, allocations: 0.8383 MB / 0.5902 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.4277, allocations: 11.84 kB / 0.5902 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4277, allocations: 128 / 0.5902 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.4278, allocations: 5.875 kB / 0.5902 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4281, allocations: 465.7 kB / 0.5907 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4292, allocations: 1.317 MB / 0.5919 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4295, allocations: 0.6741 MB / 0.5926 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.4295, allocations: 5.859 kB / 0.5926 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.4296, allocations: 12.89 kB / 0.5926 GB, free: 8.883 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4296, allocations: 0 / 0.5926 GB, free: 8.883 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.4474, allocations: 1.484 MB / 0.5941 GB, free: 8.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.802/9.25, allocations: 5.312 kB / 0.5941 GB, free: 8.535 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)