Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001539/0.001539, allocations: 195 kB / 16.14 MB, free: 6.656 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9369/0.9369, allocations: 143.1 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 68.05 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 82.05 MB / 0.5937 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003995/0.1316, allocations: 3.341 MB / 0.597 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.592e-05/0.1316, allocations: 47.88 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1317, allocations: 4 kB / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.669e-05/0.1318, allocations: 7.922 kB / 0.5971 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.1318, allocations: 11.92 kB / 0.5971 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1322, allocations: 163.4 kB / 0.5972 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.1323, allocations: 67.81 kB / 0.5973 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.326e-05/0.1323, allocations: 7.875 kB / 0.5973 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.1324, allocations: 11.98 kB / 0.5973 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.1324, allocations: 19.91 kB / 0.5973 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1325, allocations: 0 / 0.5973 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.1327, allocations: 163.6 kB / 0.5975 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1328, allocations: 12 kB / 0.5975 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.1328, allocations: 11.92 kB / 0.5975 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1331, allocations: 143.9 kB / 0.5976 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1331, allocations: 0 / 0.5976 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.91e-07/0.1331, allocations: 4 kB / 0.5976 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.1331, allocations: 0 / 0.5976 GB, free: 5.918 MB / 0.4981 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.0003131/0.1334, allocations: 351.5 kB / 0.598 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1334, allocations: 8.031 kB / 0.598 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.1335, allocations: 34.75 kB / 0.598 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.1335, allocations: 4.938 kB / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.1336, allocations: 164.4 kB / 0.5982 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.1336, allocations: 34.2 kB / 0.5982 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1337, allocations: 4.125 kB / 0.5982 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1338, allocations: 49.67 kB / 0.5983 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.1338, allocations: 0 / 0.5983 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1338, allocations: 0 / 0.5983 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1338, allocations: 4 kB / 0.5983 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.705e-05/0.1339, allocations: 11.98 kB / 0.5983 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1344, allocations: 0.5833 MB / 0.5988 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.1344, allocations: 26.52 kB / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.1344, allocations: 4.859 kB / 0.5989 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.1346, allocations: 352.4 kB / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1347, allocations: 30.56 kB / 0.5992 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1347, allocations: 0 / 0.5992 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.1348, allocations: 29.7 kB / 0.5993 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.1348, allocations: 59.34 kB / 0.5993 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.1349, allocations: 106 kB / 0.5994 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1349, allocations: 25.7 kB / 0.5995 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.135, allocations: 92.05 kB / 0.5995 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.135, allocations: 3.906 kB / 0.5995 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.135, allocations: 13.72 kB / 0.5996 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.1351, allocations: 318.8 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.1351, allocations: 8 kB / 0.5999 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.1351, allocations: 21.72 kB / 0.5999 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.1352, allocations: 21.7 kB / 0.5999 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1352, allocations: 0 / 0.5999 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.123e-05/0.1353, allocations: 49.64 kB / 0.6 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1353, allocations: 11.92 kB / 0.6 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1353, allocations: 0 / 0.6 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.1353, allocations: 0 / 0.6 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-05/0.1353, allocations: 4.062 kB / 0.6 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1353, allocations: 8 kB / 0.6 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.1354, allocations: 3.938 kB / 0.6 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1354, allocations: 0 / 0.6 GB, free: 3.121 MB / 0.4981 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 5.649e-05/0.1354, allocations: 117.7 kB / 0.6001 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1355, allocations: 0 / 0.6001 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.1356, allocations: 126.3 kB / 0.6002 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.736e-05/0.1356, allocations: 180.3 kB / 0.6004 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-05/0.1357, allocations: 180.2 kB / 0.6006 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.1357, allocations: 180.3 kB / 0.6007 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1359, allocations: 409.1 kB / 0.6011 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.1359, allocations: 109 kB / 0.6012 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.136, allocations: 104.9 kB / 0.6013 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.322e-05/0.136, allocations: 180.3 kB / 0.6015 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.1361, allocations: 176.3 kB / 0.6017 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.364e-05/0.1361, allocations: 188.2 kB / 0.6018 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-05/0.1362, allocations: 188.2 kB / 0.602 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1363, allocations: 307.7 kB / 0.6023 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.1363, allocations: 182.1 kB / 0.6025 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.1364, allocations: 188.2 kB / 0.6027 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1366, allocations: 105 kB / 0.6028 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2211/0.3577, allocations: 180.4 kB / 0.6029 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3577, allocations: 102 kB / 0.603 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.3578, allocations: 87.2 kB / 0.6031 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 0 / 0.6031 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003217/0.3581, allocations: 36.06 kB / 0.6032 GB, free: 44.36 MB / 0.4981 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.000338/0.3584, allocations: 0.8567 MB / 0.604 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.3585, allocations: 13.64 kB / 0.604 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3585, allocations: 1.531 kB / 0.604 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.3585, allocations: 4.25 kB / 0.604 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3589, allocations: 0.5279 MB / 0.6045 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.3596, allocations: 1.323 MB / 0.6058 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.987e-05/0.3596, allocations: 0.6782 MB / 0.6065 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.3597, allocations: 9.125 kB / 0.6065 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.3597, allocations: 7.438 kB / 0.6065 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.3597, allocations: 0 / 0.6065 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/0.5463, allocations: 2.076 MB / 0.6085 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.5465, allocations: 278.2 kB / 0.6088 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.268, allocations: 2.484 kB / 0.6088 GB, free: 40.44 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)