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.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001124/0.001124, allocations: 176.9 kB / 326.5 MB, free: 2.246 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.862/1.862, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009314/0.0009315, allocations: 82.39 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 9.438 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001731/0.2173, allocations: 1.199 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.343, allocations: 112 MB / 1.011 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.3431, allocations: 0 / 1.011 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.3431, allocations: 3.938 kB / 1.011 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.3432, allocations: 15.97 kB / 1.011 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.3436, allocations: 55.84 kB / 1.011 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.3437, allocations: 35.78 kB / 1.011 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.3438, allocations: 11.98 kB / 1.011 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.3438, allocations: 19.92 kB / 1.011 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.3439, allocations: 19.91 kB / 1.011 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3439, allocations: 4 kB / 1.011 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.344, allocations: 15.98 kB / 1.011 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.3441, allocations: 7.938 kB / 1.011 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.3441, allocations: 33.7 kB / 1.011 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3442, allocations: 40.16 kB / 1.011 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3443, allocations: 0 / 1.011 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3443, allocations: 0 / 1.011 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3443, allocations: 0 / 1.011 GB, free: 14.11 MB / 0.6667 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.0006102/0.3449, allocations: 375.2 kB / 1.011 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3449, allocations: 8.031 kB / 1.011 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.345, allocations: 42.48 kB / 1.011 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.345, allocations: 7.906 kB / 1.011 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3452, allocations: 171 kB / 1.011 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3452, allocations: 7.938 kB / 1.012 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3452, allocations: 4 kB / 1.012 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.3455, allocations: 85.64 kB / 1.012 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3455, allocations: 3.984 kB / 1.012 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3456, allocations: 0 / 1.012 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3456, allocations: 0 / 1.012 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.3459, allocations: 99.86 kB / 1.012 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.3463, allocations: 280.7 kB / 1.012 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3466, allocations: 66.55 kB / 1.012 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.3467, allocations: 89.19 kB / 1.012 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3468, allocations: 38.56 kB / 1.012 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 4.539e-06/0.3468, allocations: 0 / 1.012 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0005915/0.3474, allocations: 161.5 kB / 1.012 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3474, allocations: 59.36 kB / 1.012 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3476, allocations: 125.6 kB / 1.012 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3476, allocations: 25.7 kB / 1.012 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3477, allocations: 96.03 kB / 1.013 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3477, allocations: 7.906 kB / 1.013 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.3477, allocations: 0 / 1.013 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3478, allocations: 310.8 kB / 1.013 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.348, allocations: 47.95 kB / 1.013 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3482, allocations: 39.97 kB / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3483, allocations: 47.95 kB / 1.013 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3483, allocations: 0 / 1.013 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003396/0.3487, allocations: 125.5 kB / 1.013 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3487, allocations: 4 kB / 1.013 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3487, allocations: 0 / 1.013 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3487, allocations: 0 / 1.013 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3489, allocations: 23.98 kB / 1.013 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3489, allocations: 0 / 1.013 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.349, allocations: 31.86 kB / 1.013 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.349, allocations: 4 kB / 1.013 GB, free: 11.53 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/0.3491, allocations: 105.8 kB / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3491, allocations: 4 kB / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.3495, allocations: 133.5 kB / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3495, allocations: 4 kB / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3495, allocations: 0 / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3495, allocations: 0 / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3497, allocations: 173.6 kB / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3497, allocations: 0 / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.3498, allocations: 19.98 kB / 1.014 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3498, allocations: 0 / 1.014 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3498, allocations: 3.938 kB / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3499, allocations: 8 kB / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3499, allocations: 0 / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.3502, allocations: 231.6 kB / 1.014 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3503, allocations: 81.02 kB / 1.014 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3503, allocations: 7.938 kB / 1.014 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3504, allocations: 15.98 kB / 1.014 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.3505, allocations: 15.98 kB / 1.014 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3505, allocations: 0 / 1.014 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.3506, allocations: 91.27 kB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3506, allocations: 0 / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002261/0.3508, allocations: 16 kB / 1.014 GB, free: 10.53 MB / 0.6667 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 (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.0007026/0.3515, allocations: 0.7593 MB / 1.015 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.3519, allocations: 95.86 kB / 1.015 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3519, allocations: 0 / 1.015 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.352, allocations: 47.95 kB / 1.015 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3523, allocations: 8 kB / 1.015 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3534, allocations: 0.586 MB / 1.016 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3537, allocations: 0.6848 MB / 1.016 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.3538, allocations: 4 kB / 1.016 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.3538, allocations: 11.44 kB / 1.016 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of SimCode: time 3.11e-07/0.3538, allocations: 3.938 kB / 1.016 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.3672, allocations: 1.706 MB / 1.018 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.3674, allocations: 193.8 kB / 1.018 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.004, allocations: 0 / 1.018 GB, free: 6.449 MB / 0.6667 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)