Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_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.001441/0.001441, allocations: 105.4 kB / 15.7 MB, free: 24 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.00189/0.00189, allocations: 197.5 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 68.02 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 114.5 MB / 0.7836 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006178/0.2882, allocations: 3.743 MB / 0.7873 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.2884, allocations: 151.5 kB / 0.7874 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.2884, allocations: 0 / 0.7874 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.2885, allocations: 7.938 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.2887, allocations: 3.984 kB / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.289, allocations: 79.69 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.2891, allocations: 23.94 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.2891, allocations: 3.984 kB / 0.7875 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.2892, allocations: 15.92 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.2893, allocations: 15.92 kB / 0.7876 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2893, allocations: 0 / 0.7876 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.2898, allocations: 187.4 kB / 0.7877 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.2899, allocations: 11.98 kB / 0.7877 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.2899, allocations: 4 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2901, allocations: 52.11 kB / 0.7878 GB, free: 9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2901, allocations: 4 kB / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2901, allocations: 0 / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2901, allocations: 0 / 0.7878 GB, free: 8.996 MB / 0.6075 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.0004628/0.2906, allocations: 331.5 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2906, allocations: 8.031 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.2907, allocations: 34.75 kB / 0.7882 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.2907, allocations: 4.938 kB / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2908, allocations: 168.3 kB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.2909, allocations: 38.25 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2909, allocations: 4.125 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2911, allocations: 37.69 kB / 0.7884 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2911, allocations: 0 / 0.7884 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2911, allocations: 7.984 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2911, allocations: 0 / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.2912, allocations: 15.98 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.2917, allocations: 338 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.371e-05/0.2917, allocations: 22.52 kB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.2918, allocations: 8.922 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.432e-05/0.2919, allocations: 81.11 kB / 0.7889 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2919, allocations: 42.48 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2919, allocations: 3.938 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.292, allocations: 41.55 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.2921, allocations: 55.53 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.2922, allocations: 105.8 kB / 0.7891 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2922, allocations: 25.7 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2923, allocations: 84.05 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.2923, allocations: 0 / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.2923, allocations: 17.72 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2924, allocations: 318.8 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.2924, allocations: 4 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.2925, allocations: 21.72 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.2925, allocations: 29.64 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2925, allocations: 0 / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.913e-05/0.2926, allocations: 41.7 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2926, allocations: 4 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2926, allocations: 0 / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2927, allocations: 8.062 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.2927, allocations: 7.984 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2927, allocations: 3.938 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.2928, allocations: 3.906 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2928, allocations: 8 kB / 0.7896 GB, free: 6.824 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.2929, allocations: 114.4 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2929, allocations: 4 kB / 0.7898 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.293, allocations: 117 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.2931, allocations: 184.2 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-05/0.2932, allocations: 180.3 kB / 0.7902 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.2932, allocations: 176.3 kB / 0.7904 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2935, allocations: 413 kB / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/0.2935, allocations: 101 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.2936, allocations: 116.9 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.964e-05/0.2937, allocations: 180.3 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.2937, allocations: 176.3 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.202e-05/0.2938, allocations: 180.2 kB / 0.7915 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-05/0.2939, allocations: 176.3 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2942, allocations: 319.7 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.2942, allocations: 182 kB / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.2943, allocations: 180.2 kB / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2945, allocations: 113 kB / 0.7924 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.2947, allocations: 188.2 kB / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2947, allocations: 101 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.2948, allocations: 87.27 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2948, allocations: 3.938 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002352/0.295, allocations: 15.94 kB / 0.7928 GB, free: 3.363 MB / 0.6075 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 (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.00058/0.2956, allocations: 0.8282 MB / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2957, allocations: 15.98 kB / 0.7936 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2957, allocations: 0 / 0.7936 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2957, allocations: 0 / 0.7936 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.2962, allocations: 464.7 kB / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2972, allocations: 1.325 MB / 0.7954 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2975, allocations: 0.6768 MB / 0.796 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.2975, allocations: 14.91 kB / 0.796 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.2976, allocations: 7.438 kB / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2976, allocations: 0 / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.3155, allocations: 1.473 MB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.617, allocations: 5.5 kB / 0.7975 GB, free: 14.57 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)