Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_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.452/1.452, allocations: 251.5 MB / 266.7 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.001049/0.001049, allocations: 172.2 kB / 325.9 MB, free: 2.691 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.664/1.664, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007461/0.000746, allocations: 86.36 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 11.59 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2171, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001291/0.2185, allocations: 1.006 MB / 0.8972 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.3472, allocations: 129.9 MB / 1.024 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.3473, allocations: 4 kB / 1.024 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.3473, allocations: 0 / 1.024 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.3474, allocations: 3.938 kB / 1.024 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.3477, allocations: 51.8 kB / 1.024 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.3478, allocations: 27.8 kB / 1.024 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.3479, allocations: 4 kB / 1.024 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.3479, allocations: 4 kB / 1.024 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.348, allocations: 11.97 kB / 1.024 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.348, allocations: 3.938 kB / 1.024 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.3481, allocations: 15.98 kB / 1.024 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3481, allocations: 0 / 1.024 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.3481, allocations: 8 kB / 1.024 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.3483, allocations: 27.92 kB / 1.024 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3483, allocations: 0 / 1.024 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3483, allocations: 4 kB / 1.024 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3483, allocations: 0 / 1.024 GB, free: 0.5078 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003913/0.3487, allocations: 328.4 kB / 1.025 GB, free: 140 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.94e-05/0.3488, allocations: 8.031 kB / 1.025 GB, free: 132 kB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3488, allocations: 34.75 kB / 1.025 GB, free: 88 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.3489, allocations: 4.922 kB / 1.025 GB, free: 84 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.349, allocations: 168.2 kB / 1.025 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.3491, allocations: 30.27 kB / 1.025 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3491, allocations: 8.375 kB / 1.025 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3493, allocations: 42 kB / 1.025 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3493, allocations: 0 / 1.025 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3493, allocations: 0 / 1.025 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3493, allocations: 0 / 1.025 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.3494, allocations: 19.92 kB / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.3496, allocations: 153.7 kB / 1.025 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3497, allocations: 38.55 kB / 1.025 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.3498, allocations: 16.8 kB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.3499, allocations: 93.17 kB / 1.025 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.35, allocations: 34.5 kB / 1.025 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.35, allocations: 0 / 1.025 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002303/0.3502, allocations: 61.67 kB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3503, allocations: 59.34 kB / 1.025 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.3503, allocations: 93.86 kB / 1.025 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3504, allocations: 25.7 kB / 1.025 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.3504, allocations: 80.14 kB / 1.025 GB, free: 15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3504, allocations: 19.81 kB / 1.025 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.3505, allocations: 9.719 kB / 1.025 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3506, allocations: 314.8 kB / 1.026 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.3506, allocations: 4 kB / 1.026 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.3507, allocations: 15.98 kB / 1.026 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.3507, allocations: 20.84 kB / 1.026 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3508, allocations: 0 / 1.026 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/0.3509, allocations: 49.69 kB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3509, allocations: 11.88 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3509, allocations: 4 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3509, allocations: 0 / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.351, allocations: 8 kB / 1.026 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.351, allocations: 7.984 kB / 1.026 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.3511, allocations: 3.906 kB / 1.026 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3511, allocations: 0 / 1.026 GB, free: 14.52 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.552e-05/0.3511, allocations: 109.8 kB / 1.026 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.3512, allocations: 3.938 kB / 1.026 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3513, allocations: 65.16 kB / 1.026 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3514, allocations: 0 / 1.026 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3514, allocations: 0 / 1.026 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3514, allocations: 4 kB / 1.026 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3515, allocations: 153.7 kB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3515, allocations: 3.938 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.3515, allocations: 4 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3516, allocations: 3.938 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3516, allocations: 4 kB / 1.026 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3516, allocations: 0 / 1.026 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3516, allocations: 3.938 kB / 1.026 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.3517, allocations: 77.67 kB / 1.026 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.3518, allocations: 85.05 kB / 1.026 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3518, allocations: 7.922 kB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.775e-05/0.3518, allocations: 4 kB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3519, allocations: 4.031 kB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3519, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.3519, allocations: 79.28 kB / 1.026 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3519, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001896/0.3521, allocations: 8 kB / 1.026 GB, free: 13.8 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.0004272/0.3526, allocations: 0.6318 MB / 1.027 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.3527, allocations: 19.98 kB / 1.027 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3527, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.3528, allocations: 19.92 kB / 1.027 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.353, allocations: 8 kB / 1.027 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.3535, allocations: 160.4 kB / 1.027 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3537, allocations: 0.6731 MB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.3537, allocations: 8 kB / 1.028 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.3538, allocations: 7.438 kB / 1.028 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of SimCode: time 3.7e-07/0.3538, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.3735, allocations: 1.156 MB / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.3737, allocations: 229.7 kB / 1.029 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.869, allocations: 0 / 1.029 GB, free: 10.93 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)