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.0009052/0.0009053, allocations: 91.69 kB / 15.36 MB, free: 0.7344 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.004767/0.004767, allocations: 168.6 kB / 16.26 MB, free: 6.617 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.216/1.216, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.689/0.689, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 13.38 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3403, allocations: 81.57 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003355/0.3437, allocations: 3.417 MB / 0.5871 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000145/0.3439, allocations: 152.6 kB / 0.5872 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.347e-05/0.3439, allocations: 0 / 0.5872 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.601e-05/0.344, allocations: 5.562 kB / 0.5872 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.344, allocations: 17.5 kB / 0.5872 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.3443, allocations: 74.16 kB / 0.5873 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.3444, allocations: 57.05 kB / 0.5874 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.3444, allocations: 6.188 kB / 0.5874 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.3445, allocations: 14.7 kB / 0.5874 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.3445, allocations: 13.48 kB / 0.5874 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.3446, allocations: 5.094 kB / 0.5874 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.345, allocations: 193.3 kB / 0.5876 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.3451, allocations: 12.97 kB / 0.5876 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.3451, allocations: 36.16 kB / 0.5876 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3452, allocations: 43.42 kB / 0.5877 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3452, allocations: 4 kB / 0.5877 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3452, allocations: 0 / 0.5877 GB, free: 1.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3452, allocations: 1.312 kB / 0.5877 GB, free: 1.066 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.0002408/0.3455, allocations: 329 kB / 0.588 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3455, allocations: 9.094 kB / 0.588 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.3455, allocations: 32.88 kB / 0.588 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.3456, allocations: 1.719 kB / 0.588 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.3456, allocations: 171.2 kB / 0.5882 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.3457, allocations: 27.98 kB / 0.5882 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.3457, allocations: 9.875 kB / 0.5882 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3458, allocations: 48.64 kB / 0.5883 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.3458, allocations: 4 kB / 0.5883 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3459, allocations: 1 kB / 0.5883 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.3459, allocations: 1.734 kB / 0.5883 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.3459, allocations: 16.89 kB / 0.5883 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.3462, allocations: 332.6 kB / 0.5886 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.3463, allocations: 20.95 kB / 0.5886 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.3463, allocations: 6.203 kB / 0.5887 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-05/0.3464, allocations: 88.27 kB / 0.5887 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3464, allocations: 32.17 kB / 0.5888 GB, free: 15.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3464, allocations: 0 / 0.5888 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.3465, allocations: 42.03 kB / 0.5888 GB, free: 15.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3466, allocations: 52.03 kB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.23e-05/0.3467, allocations: 106.8 kB / 0.589 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3467, allocations: 26.77 kB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.3467, allocations: 89.16 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.3467, allocations: 6.016 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.3468, allocations: 11.09 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.3468, allocations: 320 kB / 0.5894 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.3469, allocations: 7.906 kB / 0.5894 GB, free: 15.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.3469, allocations: 15.05 kB / 0.5894 GB, free: 15.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.3469, allocations: 29.02 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3469, allocations: 1 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.21e-05/0.347, allocations: 53.06 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.347, allocations: 5.156 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.347, allocations: 1.875 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.3471, allocations: 0.9375 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.3471, allocations: 5.344 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3471, allocations: 1.281 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.3471, allocations: 2.188 kB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3471, allocations: 5.875 kB / 0.5895 GB, free: 15.08 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.262e-05/0.3472, allocations: 118.4 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3472, allocations: 0.5625 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.3473, allocations: 118.5 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-05/0.3474, allocations: 178.5 kB / 0.5899 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.887e-05/0.3474, allocations: 185.3 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.255e-05/0.3475, allocations: 178.6 kB / 0.5903 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3477, allocations: 411.6 kB / 0.5906 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/0.3477, allocations: 107.1 kB / 0.5907 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.3477, allocations: 101.5 kB / 0.5908 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.3478, allocations: 182.7 kB / 0.591 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.3478, allocations: 185.8 kB / 0.5912 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-05/0.3479, allocations: 182.4 kB / 0.5914 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.37e-05/0.3479, allocations: 178.7 kB / 0.5915 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.3481, allocations: 308.8 kB / 0.5918 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.3481, allocations: 190 kB / 0.592 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.3482, allocations: 182.2 kB / 0.5922 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3484, allocations: 111.1 kB / 0.5923 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.3484, allocations: 182.3 kB / 0.5925 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.3484, allocations: 106.8 kB / 0.5926 GB, free: 11.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.3485, allocations: 83.08 kB / 0.5927 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3485, allocations: 4 kB / 0.5927 GB, free: 11.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3487, allocations: 19.69 kB / 0.5927 GB, free: 11.69 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.0003895/0.3491, allocations: 0.8344 MB / 0.5935 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.938e-05/0.3492, allocations: 11.69 kB / 0.5935 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3492, allocations: 0 / 0.5935 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3492, allocations: 1.125 kB / 0.5935 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3496, allocations: 0.5238 MB / 0.594 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.3504, allocations: 1.328 MB / 0.5953 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3506, allocations: 0.6743 MB / 0.596 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.3506, allocations: 9.828 kB / 0.596 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.3506, allocations: 8.812 kB / 0.596 GB, free: 8.305 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3506, allocations: 5.375 kB / 0.596 GB, free: 8.301 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.319/0.6697, allocations: 1.311 MB / 0.5973 GB, free: 8.156 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.6699, allocations: 215.2 kB / 0.5975 GB, free: 7.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.676, allocations: 0 / 0.5975 GB, free: 7.902 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)