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.001223/0.001223, allocations: 108 kB / 15.6 MB, free: 132 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.001175/0.001175, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.815/1.815, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.81/1.81, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001514/0.001515, allocations: 71.52 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.278, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002674/0.2807, allocations: 1.278 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5378/0.8185, allocations: 132 MB / 0.9136 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.8185, allocations: 0 / 0.9136 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.8186, allocations: 0 / 0.9136 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.8187, allocations: 10.81 kB / 0.9137 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.819, allocations: 57.88 kB / 0.9137 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.8191, allocations: 24.77 kB / 0.9137 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.8191, allocations: 2.125 kB / 0.9137 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.8192, allocations: 7.812 kB / 0.9137 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.8193, allocations: 14.81 kB / 0.9138 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.8193, allocations: 0.9688 kB / 0.9138 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/0.8194, allocations: 13.88 kB / 0.9138 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.8194, allocations: 7.266 kB / 0.9138 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.8194, allocations: 6.438 kB / 0.9138 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.8195, allocations: 30.27 kB / 0.9138 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8195, allocations: 1.203 kB / 0.9138 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8195, allocations: 0.9062 kB / 0.9138 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8195, allocations: 0 / 0.9138 GB, free: 5.648 MB / 0.7169 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.0005558/0.8201, allocations: 330.1 kB / 0.9141 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8202, allocations: 13.81 kB / 0.9141 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.8202, allocations: 39.59 kB / 0.9142 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.8202, allocations: 6.875 kB / 0.9142 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8203, allocations: 162.5 kB / 0.9143 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.8204, allocations: 30.02 kB / 0.9144 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.8204, allocations: 1.312 kB / 0.9144 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.8206, allocations: 49.14 kB / 0.9144 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.8206, allocations: 0 / 0.9144 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.8206, allocations: 0.5625 kB / 0.9144 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.8206, allocations: 1.031 kB / 0.9144 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.8207, allocations: 22.2 kB / 0.9144 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.8208, allocations: 152.2 kB / 0.9146 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.821, allocations: 30.97 kB / 0.9146 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.821, allocations: 11.52 kB / 0.9146 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.8212, allocations: 89.42 kB / 0.9147 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.8212, allocations: 43.06 kB / 0.9148 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.8212, allocations: 0 / 0.9148 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002472/0.8215, allocations: 59.41 kB / 0.9148 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.8215, allocations: 51.41 kB / 0.9149 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.8216, allocations: 98.36 kB / 0.915 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.8216, allocations: 25.7 kB / 0.915 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.8217, allocations: 84.95 kB / 0.9151 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.8217, allocations: 17.91 kB / 0.9151 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.8217, allocations: 13.33 kB / 0.9151 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.8218, allocations: 316.9 kB / 0.9154 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.8219, allocations: 9.938 kB / 0.9154 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.822, allocations: 5.828 kB / 0.9154 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.83e-05/0.822, allocations: 23.27 kB / 0.9154 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8221, allocations: 0 / 0.9154 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001468/0.8222, allocations: 53.55 kB / 0.9155 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8222, allocations: 8.875 kB / 0.9155 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8222, allocations: 3.609 kB / 0.9155 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8223, allocations: 0.9062 kB / 0.9155 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.8223, allocations: 6.078 kB / 0.9155 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8224, allocations: 1.578 kB / 0.9155 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.8224, allocations: 1.641 kB / 0.9155 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.8224, allocations: 0.9375 kB / 0.9155 GB, free: 19.92 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 7.376e-05/0.8225, allocations: 116.4 kB / 0.9156 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.8225, allocations: 6.516 kB / 0.9156 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.8227, allocations: 57.52 kB / 0.9157 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.8227, allocations: 1 kB / 0.9157 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8227, allocations: 0.5625 kB / 0.9157 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8227, allocations: 4.891 kB / 0.9157 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.773e-05/0.8228, allocations: 156.6 kB / 0.9158 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8228, allocations: 0.75 kB / 0.9158 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.8229, allocations: 7.453 kB / 0.9158 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8229, allocations: 7.938 kB / 0.9158 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.8229, allocations: 4.781 kB / 0.9159 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8229, allocations: 1.75 kB / 0.9159 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8229, allocations: 2.469 kB / 0.9159 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.8231, allocations: 76.56 kB / 0.9159 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.8232, allocations: 84.94 kB / 0.916 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.8232, allocations: 1.516 kB / 0.916 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.8232, allocations: 5.516 kB / 0.916 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.8233, allocations: 6.375 kB / 0.916 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.8233, allocations: 1.469 kB / 0.916 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.8233, allocations: 77.86 kB / 0.9161 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.01e-07/0.8233, allocations: 0.7812 kB / 0.9161 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002053/0.8235, allocations: 10.31 kB / 0.9161 GB, free: 19.31 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.0004616/0.824, allocations: 0.6265 MB / 0.9167 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.8242, allocations: 21.86 kB / 0.9167 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8242, allocations: 0 / 0.9167 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.8242, allocations: 16.83 kB / 0.9168 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.8245, allocations: 7.703 kB / 0.9168 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.8249, allocations: 162.5 kB / 0.9169 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.8252, allocations: 0.6794 MB / 0.9176 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.389e-05/0.8252, allocations: 5.109 kB / 0.9176 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.8253, allocations: 14.05 kB / 0.9176 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.8253, allocations: 0 / 0.9176 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.8439, allocations: 1.336 MB / 0.9189 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.813, allocations: 12.92 kB / 0.9189 GB, free: 17.5 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)