Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.001227/0.001228, allocations: 95.33 kB / 15.68 MB, free: 488 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.002296/0.002296, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.725/2.725, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.198/1.198, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005531, allocations: 12 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3293, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002845/0.3322, allocations: 1.188 MB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 1.061/1.393, allocations: 112 MB / 0.6672 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/1.393, allocations: 4 kB / 0.6672 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.868e-05/1.393, allocations: 3.984 kB / 0.6672 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/1.393, allocations: 19.91 kB / 0.6672 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/1.394, allocations: 51.86 kB / 0.6673 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/1.394, allocations: 35.94 kB / 0.6673 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/1.394, allocations: 7.984 kB / 0.6673 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/1.395, allocations: 19.92 kB / 0.6674 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/1.395, allocations: 23.92 kB / 0.6674 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/1.395, allocations: 0 / 0.6674 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/1.395, allocations: 15.98 kB / 0.6674 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/1.395, allocations: 8 kB / 0.6674 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/1.395, allocations: 33.64 kB / 0.6674 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/1.395, allocations: 38.45 kB / 0.6675 GB, free: 8.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.395, allocations: 0 / 0.6675 GB, free: 8.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.925e-06/1.395, allocations: 0 / 0.6675 GB, free: 8.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/1.395, allocations: 0 / 0.6675 GB, free: 8.273 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001124/1.396, allocations: 384.8 kB / 0.6678 GB, free: 7.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.589e-05/1.396, allocations: 8.031 kB / 0.6678 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.642e-05/1.397, allocations: 30.56 kB / 0.6679 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/1.397, allocations: 7.906 kB / 0.6679 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/1.397, allocations: 167.1 kB / 0.668 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/1.397, allocations: 7.922 kB / 0.6681 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/1.397, allocations: 15.89 kB / 0.6681 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/1.398, allocations: 81.64 kB / 0.6681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.398, allocations: 3.938 kB / 0.6681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/1.398, allocations: 0 / 0.6681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.398, allocations: 4 kB / 0.6682 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/1.398, allocations: 91.92 kB / 0.6682 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/1.399, allocations: 292.6 kB / 0.6685 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/1.399, allocations: 66.55 kB / 0.6686 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/1.4, allocations: 93.19 kB / 0.6687 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.4, allocations: 30.56 kB / 0.6687 GB, free: 6.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/1.4, allocations: 0 / 0.6687 GB, free: 6.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009178/1.401, allocations: 169.5 kB / 0.6689 GB, free: 6.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/1.401, allocations: 51.41 kB / 0.6689 GB, free: 6.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/1.401, allocations: 115.6 kB / 0.669 GB, free: 6.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/1.401, allocations: 25.7 kB / 0.669 GB, free: 6.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/1.401, allocations: 96.03 kB / 0.6691 GB, free: 6.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.401, allocations: 7.906 kB / 0.6691 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/1.401, allocations: 0 / 0.6691 GB, free: 6.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/1.402, allocations: 322.8 kB / 0.6695 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/1.402, allocations: 39.97 kB / 0.6695 GB, free: 5.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.402, allocations: 43.97 kB / 0.6695 GB, free: 5.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.402, allocations: 43.95 kB / 0.6696 GB, free: 5.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.402, allocations: 0 / 0.6696 GB, free: 5.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005055/1.403, allocations: 121.5 kB / 0.6697 GB, free: 5.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.403, allocations: 4 kB / 0.6697 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.403, allocations: 8 kB / 0.6697 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.403, allocations: 0 / 0.6697 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.403, allocations: 23.91 kB / 0.6697 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.403, allocations: 4 kB / 0.6697 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/1.403, allocations: 19.98 kB / 0.6697 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.403, allocations: 0 / 0.6697 GB, free: 5.711 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.403, allocations: 113.8 kB / 0.6699 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/1.403, allocations: 4 kB / 0.6699 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/1.404, allocations: 133.5 kB / 0.67 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.404, allocations: 0 / 0.67 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.404, allocations: 1.938 kB / 0.67 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.404, allocations: 0 / 0.67 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/1.404, allocations: 174 kB / 0.6702 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.405, allocations: 4 kB / 0.6702 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/1.405, allocations: 23.92 kB / 0.6702 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.405, allocations: 0 / 0.6702 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.405, allocations: 7.984 kB / 0.6702 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.405, allocations: 0 / 0.6702 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.405, allocations: 0 / 0.6702 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/1.405, allocations: 223.3 kB / 0.6704 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/1.406, allocations: 92.91 kB / 0.6705 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/1.406, allocations: 0 / 0.6705 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.406, allocations: 23.97 kB / 0.6705 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/1.406, allocations: 4 kB / 0.6705 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.406, allocations: 0.5625 kB / 0.6705 GB, free: 4.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001776/1.406, allocations: 95.27 kB / 0.6706 GB, free: 4.727 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.406, allocations: 0 / 0.6706 GB, free: 4.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004836/1.407, allocations: 12 kB / 0.6706 GB, free: 4.715 MB / 494.1 MB 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 (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.001449/1.408, allocations: 0.7638 MB / 0.6714 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/1.409, allocations: 91.92 kB / 0.6715 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.409, allocations: 0 / 0.6715 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/1.409, allocations: 51.91 kB / 0.6715 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/1.409, allocations: 13.7 kB / 0.6715 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/1.411, allocations: 0.5699 MB / 0.6721 GB, free: 3.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.412, allocations: 0.6848 MB / 0.6727 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.009e-05/1.412, allocations: 8 kB / 0.6727 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/1.412, allocations: 11.44 kB / 0.6728 GB, free: 2.422 MB / 494.1 MB Notification: Performance of SimCode: time 1.482e-06/1.412, allocations: 0 / 0.6728 GB, free: 2.422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/1.435, allocations: 1.686 MB / 0.6744 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005309/1.435, allocations: 185.6 kB / 0.6746 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/4.885, allocations: 10.33 kB / 0.6746 GB, free: 0.6523 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: