Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_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.001915/0.001915, allocations: 99.86 kB / 15.69 MB, free: 476 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.001857/0.001857, allocations: 174.9 kB / 16.57 MB, free: 6.387 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.357/2.357, allocations: 223.2 MB / 240.5 MB, free: 5.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.15/1.15, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00075/0.0007506, allocations: 12.81 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3377, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002338/0.3401, allocations: 0.9766 MB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.8909/1.231, allocations: 111.9 MB / 0.667 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/1.231, allocations: 3.938 kB / 0.667 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/1.231, allocations: 7.984 kB / 0.667 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/1.231, allocations: 7.984 kB / 0.667 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/1.232, allocations: 51.78 kB / 0.6671 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/1.232, allocations: 11.98 kB / 0.6671 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/1.232, allocations: 0 / 0.6671 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/1.232, allocations: 11.98 kB / 0.6671 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/1.232, allocations: 7.938 kB / 0.6671 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/1.232, allocations: 0 / 0.6671 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/1.232, allocations: 23.97 kB / 0.6671 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/1.232, allocations: 0 / 0.6671 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/1.233, allocations: 29.7 kB / 0.6671 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/1.233, allocations: 22.38 kB / 0.6672 GB, free: 8.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.233, allocations: 0 / 0.6672 GB, free: 8.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/1.233, allocations: 0 / 0.6672 GB, free: 8.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/1.233, allocations: 0 / 0.6672 GB, free: 8.605 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006839/1.233, allocations: 323.1 kB / 0.6675 GB, free: 8.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/1.233, allocations: 15.97 kB / 0.6675 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/1.234, allocations: 30.56 kB / 0.6675 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/1.234, allocations: 0.7812 kB / 0.6675 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/1.234, allocations: 171.1 kB / 0.6677 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.234, allocations: 33.67 kB / 0.6677 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/1.234, allocations: 7.953 kB / 0.6677 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.234, allocations: 33.69 kB / 0.6677 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.234, allocations: 0 / 0.6677 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/1.234, allocations: 4 kB / 0.6677 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/1.234, allocations: 2.375 kB / 0.6677 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/1.234, allocations: 15.92 kB / 0.6678 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/1.235, allocations: 161.5 kB / 0.6679 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/1.235, allocations: 34.61 kB / 0.668 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/1.235, allocations: 89.19 kB / 0.668 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.235, allocations: 34.52 kB / 0.6681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/1.235, allocations: 0 / 0.6681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003777/1.236, allocations: 61.61 kB / 0.6681 GB, free: 7.414 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/1.236, allocations: 51.41 kB / 0.6682 GB, free: 7.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.236, allocations: 97.86 kB / 0.6683 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/1.236, allocations: 25.7 kB / 0.6683 GB, free: 7.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/1.236, allocations: 84.14 kB / 0.6684 GB, free: 7.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/1.236, allocations: 11.89 kB / 0.6684 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/1.236, allocations: 0 / 0.6684 GB, free: 7.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/1.236, allocations: 310.8 kB / 0.6687 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/1.236, allocations: 8 kB / 0.6687 GB, free: 6.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/1.236, allocations: 11.92 kB / 0.6687 GB, free: 6.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/1.236, allocations: 12 kB / 0.6687 GB, free: 6.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.236, allocations: 0 / 0.6687 GB, free: 6.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001609/1.237, allocations: 45.69 kB / 0.6688 GB, free: 6.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.237, allocations: 14.28 kB / 0.6688 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/1.237, allocations: 0 / 0.6688 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.237, allocations: 4 kB / 0.6688 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/1.237, allocations: 11.94 kB / 0.6688 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.237, allocations: 0 / 0.6688 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/1.237, allocations: 0 / 0.6688 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/1.237, allocations: 4 kB / 0.6688 GB, free: 6.691 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.0001265/1.237, allocations: 109.8 kB / 0.6689 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/1.237, allocations: 7.891 kB / 0.6689 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/1.237, allocations: 62.44 kB / 0.669 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.237, allocations: 48 / 0.669 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.237, allocations: 7.984 kB / 0.669 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/1.237, allocations: 3.984 kB / 0.669 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/1.238, allocations: 153.7 kB / 0.6691 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.238, allocations: 0 / 0.6691 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/1.238, allocations: 11.92 kB / 0.6691 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.238, allocations: 4 kB / 0.6691 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/1.238, allocations: 4.812 kB / 0.6691 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.238, allocations: 3.953 kB / 0.6691 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.238, allocations: 0 / 0.6691 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/1.238, allocations: 77.12 kB / 0.6692 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/1.238, allocations: 81.09 kB / 0.6693 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.238, allocations: 0 / 0.6693 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/1.238, allocations: 4.875 kB / 0.6693 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/1.238, allocations: 7.938 kB / 0.6693 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/1.238, allocations: 0 / 0.6693 GB, free: 6.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.787e-05/1.238, allocations: 79.28 kB / 0.6694 GB, free: 5.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.238, allocations: 0 / 0.6694 GB, free: 5.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003781/1.239, allocations: 8 kB / 0.6694 GB, free: 5.969 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.0008425/1.24, allocations: 0.6312 MB / 0.67 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/1.24, allocations: 19.98 kB / 0.67 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.24, allocations: 0 / 0.67 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/1.24, allocations: 15.94 kB / 0.67 GB, free: 5.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/1.24, allocations: 11.94 kB / 0.6701 GB, free: 5.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/1.241, allocations: 174.6 kB / 0.6702 GB, free: 5.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/1.241, allocations: 0.677 MB / 0.6709 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.689e-05/1.241, allocations: 11.98 kB / 0.6709 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/1.241, allocations: 7.438 kB / 0.6709 GB, free: 4.328 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/1.241, allocations: 0 / 0.6709 GB, free: 4.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/1.266, allocations: 1.106 MB / 0.672 GB, free: 3.379 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003944/1.266, allocations: 196.7 kB / 0.6722 GB, free: 3.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.913/4.179, allocations: 7.938 kB / 0.6722 GB, free: 3.133 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: