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.00125/0.00125, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001589/0.001589, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.055/2.055, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.107/3.107, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9122, allocations: 146.8 MB / 0.9808 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004749/0.917, allocations: 3.155 MB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.9172, allocations: 131.7 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.9172, allocations: 0 / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.9174, allocations: 0 / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.9174, allocations: 7.984 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.9178, allocations: 67.81 kB / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.9178, allocations: 19.97 kB / 0.9841 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.9179, allocations: 0 / 0.9841 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.9179, allocations: 11.94 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.918, allocations: 19.91 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.918, allocations: 4 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.9186, allocations: 139.8 kB / 0.9843 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.9186, allocations: 11.97 kB / 0.9843 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.9187, allocations: 29.7 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.922e-05/0.9188, allocations: 26.23 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9188, allocations: 0 / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.035e-06/0.9188, allocations: 0 / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.9188, allocations: 0 / 0.9844 GB, free: 2.676 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.0004352/0.9192, allocations: 343.2 kB / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9193, allocations: 8.031 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.9193, allocations: 30.56 kB / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.9194, allocations: 4 kB / 0.9847 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.9195, allocations: 163 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.9196, allocations: 33.66 kB / 0.9849 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.9196, allocations: 0 / 0.9849 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.9198, allocations: 49.67 kB / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9198, allocations: 0 / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.9198, allocations: 0 / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.9198, allocations: 0 / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.9199, allocations: 15.98 kB / 0.985 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.9204, allocations: 334 kB / 0.9853 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.9204, allocations: 30.5 kB / 0.9853 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.9205, allocations: 81.17 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.9206, allocations: 30.56 kB / 0.9855 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.9206, allocations: 0 / 0.9855 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002025/0.9208, allocations: 45.53 kB / 0.9855 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.9208, allocations: 51.53 kB / 0.9855 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.9209, allocations: 109.8 kB / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.921, allocations: 25.7 kB / 0.9857 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.921, allocations: 88.03 kB / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.921, allocations: 4 kB / 0.9858 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.9211, allocations: 0 / 0.9858 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9212, allocations: 318.8 kB / 0.9861 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.9212, allocations: 0 / 0.9861 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.9213, allocations: 21.7 kB / 0.9861 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.9213, allocations: 8 kB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9213, allocations: 0 / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.309e-05/0.9214, allocations: 49.62 kB / 0.9861 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9214, allocations: 8 kB / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9214, allocations: 0 / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9214, allocations: 288 / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.9215, allocations: 4 kB / 0.9862 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.9215, allocations: 0 / 0.9862 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.9215, allocations: 12 kB / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.9215, allocations: 3.938 kB / 0.9862 GB, free: 0.5703 MB / 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.574e-05/0.9216, allocations: 113.8 kB / 0.9863 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.9217, allocations: 7.891 kB / 0.9863 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.9219, allocations: 128.9 kB / 0.9864 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.922, allocations: 176.3 kB / 0.9866 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.892e-05/0.922, allocations: 184.2 kB / 0.9868 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-05/0.9221, allocations: 184.2 kB / 0.9869 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.9224, allocations: 405.2 kB / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/0.9225, allocations: 108.9 kB / 0.9874 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.9225, allocations: 101 kB / 0.9875 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-05/0.9226, allocations: 184.2 kB / 0.9877 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.9227, allocations: 176.3 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.647e-05/0.9227, allocations: 184.3 kB / 0.988 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.796e-05/0.9228, allocations: 192.2 kB / 0.9882 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.923, allocations: 303.8 kB / 0.9885 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.9231, allocations: 190 kB / 0.9887 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/0.9232, allocations: 180.3 kB / 0.9889 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.9233, allocations: 108.9 kB / 0.989 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.9234, allocations: 180.2 kB / 0.9891 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.9234, allocations: 104.9 kB / 0.9892 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.9235, allocations: 87.28 kB / 0.9893 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9235, allocations: 0 / 0.9893 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002553/0.9238, allocations: 12 kB / 0.9893 GB, free: 13.11 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.0005672/0.9243, allocations: 0.8282 MB / 0.9901 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.9244, allocations: 15.94 kB / 0.9902 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9244, allocations: 0 / 0.9902 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.9244, allocations: 0 / 0.9902 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.9249, allocations: 0.5185 MB / 0.9907 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.9253, allocations: 233.5 kB / 0.9909 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.9256, allocations: 0.677 MB / 0.9915 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.9257, allocations: 10.94 kB / 0.9916 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.9257, allocations: 7.438 kB / 0.9916 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 6.02e-07/0.9257, allocations: 4 kB / 0.9916 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.9375, allocations: 1.227 MB / 0.9928 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.9378, allocations: 209 kB / 0.993 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.695, allocations: 0 / 0.993 GB, free: 9.449 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