Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 190.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 75.09 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2391, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00235/0.2415, allocations: 1.333 MB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.3702, allocations: 129.9 MB / 0.9109 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.3703, allocations: 4 kB / 0.9109 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.3704, allocations: 3.938 kB / 0.911 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.3704, allocations: 0 / 0.911 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3708, allocations: 48.08 kB / 0.911 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.3709, allocations: 19.86 kB / 0.911 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.371, allocations: 4 kB / 0.911 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.371, allocations: 11.83 kB / 0.911 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3711, allocations: 11.97 kB / 0.911 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3711, allocations: 0 / 0.911 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.3712, allocations: 16 kB / 0.9111 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3712, allocations: 11.92 kB / 0.9111 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.3712, allocations: 4 kB / 0.9111 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3714, allocations: 31.86 kB / 0.9111 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3714, allocations: 0 / 0.9111 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3714, allocations: 0 / 0.9111 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.3714, allocations: 0 / 0.9111 GB, free: 10.03 MB / 0.7325 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.0004376/0.3718, allocations: 335.5 kB / 0.9114 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3719, allocations: 11.97 kB / 0.9114 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.3719, allocations: 34.75 kB / 0.9115 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.372, allocations: 4.938 kB / 0.9115 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3721, allocations: 164.4 kB / 0.9116 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.227e-05/0.3722, allocations: 34.27 kB / 0.9117 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-06/0.3722, allocations: 4.312 kB / 0.9117 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3723, allocations: 42 kB / 0.9117 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3724, allocations: 0 / 0.9117 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3724, allocations: 0 / 0.9117 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3724, allocations: 0 / 0.9117 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.3725, allocations: 23.97 kB / 0.9117 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.3727, allocations: 157.7 kB / 0.9119 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.778e-05/0.3728, allocations: 26.58 kB / 0.9119 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.3728, allocations: 12.94 kB / 0.9119 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.373, allocations: 89.09 kB / 0.912 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.373, allocations: 46.5 kB / 0.912 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.373, allocations: 0 / 0.912 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.3733, allocations: 65.45 kB / 0.9121 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3733, allocations: 51.41 kB / 0.9122 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.079e-05/0.3734, allocations: 93.86 kB / 0.9122 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.3734, allocations: 29.7 kB / 0.9123 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.3734, allocations: 84.14 kB / 0.9124 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3735, allocations: 11.88 kB / 0.9124 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.3735, allocations: 17.72 kB / 0.9124 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.3736, allocations: 318.8 kB / 0.9127 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.3737, allocations: 4 kB / 0.9127 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.3737, allocations: 7.984 kB / 0.9127 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.3738, allocations: 24.84 kB / 0.9127 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3738, allocations: 0 / 0.9127 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.3739, allocations: 53.62 kB / 0.9128 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3739, allocations: 7.938 kB / 0.9128 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3739, allocations: 4 kB / 0.9128 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.374, allocations: 0 / 0.9128 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.374, allocations: 7.984 kB / 0.9128 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.374, allocations: 0 / 0.9128 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.3741, allocations: 0 / 0.9128 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3741, allocations: 4 kB / 0.9128 GB, free: 8.035 MB / 0.7325 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 5.945e-05/0.3742, allocations: 110.5 kB / 0.9129 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.3742, allocations: 11.84 kB / 0.9129 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.3743, allocations: 69.09 kB / 0.913 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3744, allocations: 0 / 0.913 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3744, allocations: 0 / 0.913 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3744, allocations: 0.5625 kB / 0.913 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.354e-05/0.3745, allocations: 157.6 kB / 0.9131 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3745, allocations: 0 / 0.9131 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.3745, allocations: 8 kB / 0.9131 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3745, allocations: 3.938 kB / 0.9131 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3745, allocations: 3.938 kB / 0.9131 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3745, allocations: 4 kB / 0.9132 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3745, allocations: 0 / 0.9132 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.3747, allocations: 81.09 kB / 0.9132 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.3747, allocations: 81.05 kB / 0.9133 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3748, allocations: 3.984 kB / 0.9133 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.3748, allocations: 7.938 kB / 0.9133 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3748, allocations: 3.938 kB / 0.9133 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3748, allocations: 4 kB / 0.9133 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.3749, allocations: 83.28 kB / 0.9134 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3749, allocations: 0 / 0.9134 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001867/0.3751, allocations: 8 kB / 0.9134 GB, free: 7.297 MB / 0.7325 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.0003989/0.3755, allocations: 0.6241 MB / 0.914 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.3756, allocations: 19.92 kB / 0.914 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3756, allocations: 0 / 0.914 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.3757, allocations: 15.98 kB / 0.9141 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3759, allocations: 4 kB / 0.9141 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.3763, allocations: 171 kB / 0.9142 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.3765, allocations: 0.677 MB / 0.9149 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.3765, allocations: 0 / 0.9149 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.3765, allocations: 19.36 kB / 0.9149 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of SimCode: time 1.91e-07/0.3765, allocations: 0 / 0.9149 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009772/0.3863, allocations: 1.2 MB / 0.9161 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.3867, allocations: 219 kB / 0.9163 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.983, allocations: 3.938 kB / 0.9163 GB, free: 4.336 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)