Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_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.0007769/0.0007769, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008368/0.0008368, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.708/2.708, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003715, allocations: 11.98 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8106, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004684/0.8153, allocations: 3.272 MB / 0.9843 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.8155, allocations: 151.6 kB / 0.9845 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.8156, allocations: 0 / 0.9845 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.974e-05/0.8157, allocations: 4 kB / 0.9845 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.8158, allocations: 19.91 kB / 0.9845 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.8161, allocations: 55.73 kB / 0.9845 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.8162, allocations: 51.81 kB / 0.9846 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.8162, allocations: 4 kB / 0.9846 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.8163, allocations: 11.98 kB / 0.9846 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.8164, allocations: 19.92 kB / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.8164, allocations: 4 kB / 0.9846 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.8169, allocations: 139.6 kB / 0.9848 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.8169, allocations: 15.97 kB / 0.9848 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.8169, allocations: 29.7 kB / 0.9848 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.817, allocations: 26.17 kB / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8171, allocations: 0 / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.614e-06/0.8171, allocations: 0 / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.8171, allocations: 0 / 0.9848 GB, free: 2.426 MB / 0.7325 GB 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.0003899/0.8175, allocations: 339.3 kB / 0.9852 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8175, allocations: 12.03 kB / 0.9852 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.8176, allocations: 30.56 kB / 0.9852 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.8176, allocations: 4 kB / 0.9852 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.8178, allocations: 167.1 kB / 0.9854 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.8178, allocations: 29.66 kB / 0.9854 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.8178, allocations: 0 / 0.9854 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.818, allocations: 49.61 kB / 0.9854 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.818, allocations: 8 kB / 0.9854 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.818, allocations: 0 / 0.9854 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.818, allocations: 0 / 0.9854 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.8181, allocations: 15.98 kB / 0.9855 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.8185, allocations: 334 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.8186, allocations: 18.58 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.8186, allocations: 12.8 kB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.015e-05/0.8187, allocations: 89.16 kB / 0.9859 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8188, allocations: 34.55 kB / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.8188, allocations: 0 / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.8189, allocations: 41.61 kB / 0.986 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.819, allocations: 51.41 kB / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.8191, allocations: 101.8 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.8191, allocations: 29.7 kB / 0.9861 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.8191, allocations: 88.17 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.8192, allocations: 0 / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.8192, allocations: 3.938 kB / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8193, allocations: 318.8 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.8193, allocations: 11.92 kB / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.8194, allocations: 13.72 kB / 0.9866 GB, free: 400 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.8194, allocations: 4 kB / 0.9866 GB, free: 396 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8194, allocations: 4 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.096e-05/0.8195, allocations: 53.56 kB / 0.9866 GB, free: 332 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8195, allocations: 8 kB / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8195, allocations: 0 / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8195, allocations: 0 / 0.9866 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.8196, allocations: 4 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8196, allocations: 4 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.8196, allocations: 3.938 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.8196, allocations: 3.984 kB / 0.9866 GB, free: 308 kB / 0.7325 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.221e-05/0.8197, allocations: 121.9 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.8197, allocations: 3.906 kB / 0.9868 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.8199, allocations: 116.9 kB / 0.9869 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.966e-05/0.82, allocations: 180.2 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.931e-05/0.82, allocations: 176.3 kB / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/0.8201, allocations: 196.2 kB / 0.9874 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.8204, allocations: 401.2 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.8204, allocations: 108.9 kB / 0.9879 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.8205, allocations: 105 kB / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.248e-05/0.8205, allocations: 176.3 kB / 0.9881 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/0.8206, allocations: 184.2 kB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-05/0.8207, allocations: 184.3 kB / 0.9885 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-05/0.8208, allocations: 180.2 kB / 0.9887 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.8209, allocations: 303.8 kB / 0.989 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.821, allocations: 186 kB / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.8211, allocations: 184.3 kB / 0.9893 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.8213, allocations: 120.9 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.8214, allocations: 176.5 kB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.8214, allocations: 101 kB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.622e-05/0.8215, allocations: 83.27 kB / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8215, allocations: 3.938 kB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002651/0.8217, allocations: 16 kB / 0.9898 GB, free: 12.85 MB / 0.7481 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004724/0.8222, allocations: 0.8204 MB / 0.9906 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.8223, allocations: 19.94 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8223, allocations: 0 / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.8223, allocations: 4.125 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.8228, allocations: 0.5301 MB / 0.9911 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.8232, allocations: 221.4 kB / 0.9913 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.8235, allocations: 0.6809 MB / 0.992 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.8236, allocations: 10.73 kB / 0.992 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.8236, allocations: 7.438 kB / 0.992 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8236, allocations: 0 / 0.992 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.8349, allocations: 1.245 MB / 0.9932 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.8351, allocations: 218.5 kB / 0.9935 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.664, allocations: 2.188 kB / 0.9935 GB, free: 9.164 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat