Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.001107/0.001107, 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.001241/0.001242, allocations: 194.7 kB / 16.14 MB, free: 6.668 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.59 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 1.055/1.055, allocations: 143 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.91 kB / 0.5136 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1684, allocations: 82.03 MB / 0.5937 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002148/0.1706, allocations: 1.341 MB / 0.595 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.477/0.6476, allocations: 129.9 MB / 0.7219 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.6477, allocations: 0 / 0.7219 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.6477, allocations: 4.594 kB / 0.7219 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.152e-05/0.6478, allocations: 5.703 kB / 0.7219 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.6483, allocations: 50.77 kB / 0.7219 GB, free: 2.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.6484, allocations: 17.61 kB / 0.722 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.6484, allocations: 5.922 kB / 0.722 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.6485, allocations: 14.58 kB / 0.722 GB, free: 2.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.6485, allocations: 9.328 kB / 0.722 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.6486, allocations: 1.156 kB / 0.722 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.878e-05/0.6486, allocations: 13.33 kB / 0.722 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.6487, allocations: 2.516 kB / 0.722 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.6487, allocations: 9.703 kB / 0.722 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.6488, allocations: 28.62 kB / 0.722 GB, free: 2.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6488, allocations: 0 / 0.722 GB, free: 2.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.71e-07/0.6488, allocations: 0 / 0.722 GB, free: 2.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6488, allocations: 0 / 0.722 GB, free: 2.547 MB / 0.545 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.0003894/0.6492, allocations: 341.7 kB / 0.7224 GB, free: 2.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6493, allocations: 10.28 kB / 0.7224 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.6493, allocations: 31.5 kB / 0.7224 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.6493, allocations: 3.25 kB / 0.7224 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.6495, allocations: 164.3 kB / 0.7226 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.6495, allocations: 33.28 kB / 0.7226 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.6496, allocations: 2.125 kB / 0.7226 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.6497, allocations: 48.08 kB / 0.7226 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.6497, allocations: 5.125 kB / 0.7226 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.6497, allocations: 0 / 0.7226 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6497, allocations: 1.156 kB / 0.7226 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.6498, allocations: 14.17 kB / 0.7227 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.65, allocations: 154.9 kB / 0.7228 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.6501, allocations: 30.17 kB / 0.7228 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.6501, allocations: 16.02 kB / 0.7228 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.6503, allocations: 93.58 kB / 0.7229 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.6503, allocations: 43.56 kB / 0.723 GB, free: 1.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6503, allocations: 0 / 0.723 GB, free: 1.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002665/0.6506, allocations: 55.45 kB / 0.723 GB, free: 1.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.6507, allocations: 52.72 kB / 0.7231 GB, free: 1.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.6508, allocations: 98.66 kB / 0.7232 GB, free: 1.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.6508, allocations: 29.7 kB / 0.7232 GB, free: 1.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.6508, allocations: 81.42 kB / 0.7233 GB, free: 1.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.6509, allocations: 13.62 kB / 0.7233 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6509, allocations: 13.7 kB / 0.7233 GB, free: 1.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.651, allocations: 316.9 kB / 0.7236 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.6511, allocations: 6 kB / 0.7236 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.6511, allocations: 11.55 kB / 0.7236 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.6512, allocations: 25.8 kB / 0.7237 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6512, allocations: 0.6562 kB / 0.7237 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001297/0.6514, allocations: 49.22 kB / 0.7237 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6514, allocations: 8.719 kB / 0.7237 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6514, allocations: 1.219 kB / 0.7237 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6514, allocations: 1.094 kB / 0.7237 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.6515, allocations: 5.547 kB / 0.7237 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6515, allocations: 1.25 kB / 0.7237 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.6516, allocations: 6.172 kB / 0.7237 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6516, allocations: 1.531 kB / 0.7237 GB, free: 0.7656 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.48e-05/0.6517, allocations: 116.7 kB / 0.7238 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.6517, allocations: 4.734 kB / 0.7238 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.6519, allocations: 54.8 kB / 0.7239 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6519, allocations: 1.094 kB / 0.7239 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6519, allocations: 0 / 0.7239 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.6519, allocations: 5.812 kB / 0.7239 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.652, allocations: 161.3 kB / 0.7241 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6521, allocations: 0 / 0.7241 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.6521, allocations: 6.922 kB / 0.7241 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6521, allocations: 6.25 kB / 0.7241 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.6521, allocations: 1.094 kB / 0.7241 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6521, allocations: 0.7031 kB / 0.7241 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6521, allocations: 1.25 kB / 0.7241 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.6523, allocations: 77.91 kB / 0.7241 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.6523, allocations: 88.09 kB / 0.7242 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.6524, allocations: 2.391 kB / 0.7242 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.014e-05/0.6524, allocations: 1.891 kB / 0.7242 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.6524, allocations: 7.469 kB / 0.7242 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.6525, allocations: 1.156 kB / 0.7242 GB, free: 220 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.6525, allocations: 82.92 kB / 0.7243 GB, free: 140 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6525, allocations: 0 / 0.7243 GB, free: 140 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002026/0.6527, allocations: 9.469 kB / 0.7243 GB, free: 140 kB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.0004691/0.6532, allocations: 0.6254 MB / 0.7249 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.6533, allocations: 18.55 kB / 0.725 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6533, allocations: 0 / 0.725 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.6534, allocations: 13.72 kB / 0.725 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.6537, allocations: 10.09 kB / 0.725 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.6541, allocations: 173 kB / 0.7251 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6543, allocations: 0.6765 MB / 0.7258 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.41e-05/0.6544, allocations: 9.984 kB / 0.7258 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.6544, allocations: 10.12 kB / 0.7258 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.6544, allocations: 0 / 0.7258 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.6661, allocations: 1.224 MB / 0.727 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.6663, allocations: 236.1 kB / 0.7272 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.264, allocations: 0 / 0.7272 GB, free: 14.21 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)