Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.435/1.435, allocations: 252 MB / 267.3 MB, free: 10.84 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.00103/0.00103, allocations: 168.8 kB / 327 MB, free: 2.121 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.638/1.638, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0007573/0.0007573, allocations: 91.8 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8.438 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001663/0.2264, allocations: 1.211 MB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1255/0.3519, allocations: 128.5 MB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.352, allocations: 0 / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.352, allocations: 0 / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.3521, allocations: 7.922 kB / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.3524, allocations: 51.8 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3525, allocations: 63.72 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/0.3526, allocations: 11.98 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.3527, allocations: 19.92 kB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.3527, allocations: 19.92 kB / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3527, allocations: 0 / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.3528, allocations: 19.98 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3528, allocations: 4 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.3529, allocations: 45.56 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.353, allocations: 60.02 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.353, allocations: 4 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/0.353, allocations: 4 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3531, allocations: 0 / 1.028 GB, free: 12.88 MB / 0.6823 GB 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.0005028/0.3536, allocations: 367.4 kB / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3536, allocations: 12.03 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.3536, allocations: 34.75 kB / 1.028 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.3537, allocations: 12.84 kB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3538, allocations: 172.3 kB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3538, allocations: 384 / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3538, allocations: 4.375 kB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.3541, allocations: 86.2 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3541, allocations: 15.88 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.3541, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3541, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.3545, allocations: 91.92 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.3548, allocations: 288.7 kB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.355, allocations: 66.53 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3552, allocations: 48.92 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.3554, allocations: 97.09 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3554, allocations: 30.56 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3554, allocations: 3.938 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005513/0.356, allocations: 169.5 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.356, allocations: 51.41 kB / 1.029 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.3561, allocations: 117.7 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3561, allocations: 25.7 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.3562, allocations: 88.14 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3562, allocations: 11.83 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3562, allocations: 3.938 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3563, allocations: 322.8 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3565, allocations: 47.95 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3566, allocations: 39.98 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3569, allocations: 97 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3569, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003372/0.3573, allocations: 125.5 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.3573, allocations: 6.969 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3573, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3574, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3575, allocations: 23.97 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3575, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.3576, allocations: 19.98 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.3576, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6823 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 6.826e-05/0.3577, allocations: 113.8 kB / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.3577, allocations: 7.906 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.3581, allocations: 133.5 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3581, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3581, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3581, allocations: 4 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3583, allocations: 173.6 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3583, allocations: 4 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.3584, allocations: 15.98 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3584, allocations: 4 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3584, allocations: 3.984 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3584, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3584, allocations: 3.938 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3588, allocations: 227.4 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.3588, allocations: 85.02 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3589, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.359, allocations: 19.97 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.359, allocations: 0 / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.359, allocations: 8 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.3591, allocations: 103.6 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3591, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002061/0.3593, allocations: 12 kB / 1.031 GB, free: 9.199 MB / 0.6823 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.0006567/0.36, allocations: 0.7708 MB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.3603, allocations: 91.92 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3603, allocations: 0 / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3605, allocations: 43.97 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3608, allocations: 17.88 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3625, allocations: 1.493 MB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3628, allocations: 0.6852 MB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.3628, allocations: 4 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.3629, allocations: 19.44 kB / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.3629, allocations: 0 / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.375, allocations: 1.725 MB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.3753, allocations: 219.8 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.026, allocations: 4 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)