Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008335/0.0008337, allocations: 183.6 kB / 325.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006287/0.0006286, allocations: 89.23 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 16.12 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1337, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.002823/0.1366, allocations: 3.467 MB / 0.8996 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.1367, allocations: 155.5 kB / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.1367, allocations: 0 / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.479e-05/0.1368, allocations: 7.922 kB / 0.8997 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.1369, allocations: 11.98 kB / 0.8997 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1371, allocations: 73.52 kB / 0.8998 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.1371, allocations: 59.81 kB / 0.8999 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.1372, allocations: 0 / 0.8999 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.1372, allocations: 8 kB / 0.8999 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.1373, allocations: 19.91 kB / 0.8999 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.1373, allocations: 0 / 0.8999 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.1377, allocations: 195.7 kB / 0.9001 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.1377, allocations: 8 kB / 0.9001 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.1378, allocations: 11.92 kB / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.1379, allocations: 39.97 kB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1379, allocations: 0 / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1379, allocations: 0 / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.1379, allocations: 0 / 0.9001 GB, free: 64.02 MB / 0.6042 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.0002183/0.1381, allocations: 331.5 kB / 0.9004 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1381, allocations: 12.02 kB / 0.9005 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.353e-05/0.1382, allocations: 30.75 kB / 0.9005 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1382, allocations: 8.844 kB / 0.9005 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.915e-05/0.1383, allocations: 172.3 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.1383, allocations: 26.27 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-06/0.1383, allocations: 8.125 kB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.1384, allocations: 49.67 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1384, allocations: 3.984 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.1384, allocations: 0 / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1385, allocations: 4 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.1385, allocations: 11.98 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.1388, allocations: 341.9 kB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.294e-05/0.1388, allocations: 18.58 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-06/0.1388, allocations: 8.797 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.1389, allocations: 89.16 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.1389, allocations: 30.56 kB / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1389, allocations: 4 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 9.906e-05/0.139, allocations: 37.64 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.527e-05/0.139, allocations: 55.39 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.1391, allocations: 97.86 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.1391, allocations: 25.7 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.1391, allocations: 88.05 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/0.1391, allocations: 11.89 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.1391, allocations: 9.719 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.1392, allocations: 318.9 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.1392, allocations: 4 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.1392, allocations: 21.7 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.1392, allocations: 21.66 kB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1392, allocations: 0 / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.199e-05/0.1393, allocations: 45.69 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.1393, allocations: 10.88 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1393, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1393, allocations: 4 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.204e-05/0.1394, allocations: 4 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1394, allocations: 3.938 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.1394, allocations: 3.938 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.1394, allocations: 4 kB / 0.902 GB, free: 61.86 MB / 0.6042 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 3.577e-05/0.1395, allocations: 113.8 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1395, allocations: 7.984 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.1395, allocations: 113 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.1396, allocations: 188.2 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.1396, allocations: 180.3 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.1396, allocations: 180.2 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1397, allocations: 413.1 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.1397, allocations: 105 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.1398, allocations: 104.9 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.1398, allocations: 180.3 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1398, allocations: 180.2 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.1398, allocations: 180.2 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/0.1398, allocations: 188.2 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.178e-05/0.1399, allocations: 315.6 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.1399, allocations: 182 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.14, allocations: 180.2 kB / 0.9046 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1401, allocations: 113 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.1401, allocations: 180.2 kB / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1401, allocations: 112.9 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.228e-05/0.1401, allocations: 83.28 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 0 / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002122/0.1404, allocations: 19.94 kB / 0.9051 GB, free: 58.39 MB / 0.6042 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.0002245/0.1406, allocations: 0.8321 MB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.633e-05/0.1406, allocations: 11.98 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1407, allocations: 0 / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1407, allocations: 0 / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1409, allocations: 0.5264 MB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.1414, allocations: 1.319 MB / 0.9078 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.232e-05/0.1415, allocations: 0.6809 MB / 0.9084 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.1415, allocations: 10.91 kB / 0.9084 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.1416, allocations: 11.44 kB / 0.9084 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.1416, allocations: 3.938 kB / 0.9084 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3846/0.5262, allocations: 1.289 MB / 0.9097 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.5263, allocations: 243.1 kB / 0.9099 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.189, allocations: 2.125 kB / 0.9099 GB, free: 53.5 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)