Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_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.001087/0.001087, allocations: 109.4 kB / 15.69 MB, free: 128 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.001572/0.001572, allocations: 187.6 kB / 16.62 MB, free: 6.582 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.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.819/1.819, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001358/0.001358, allocations: 74.55 kB / 0.6718 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2269, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003116/0.2301, allocations: 1.496 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6158/0.8459, allocations: 132.1 MB / 0.914 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.8461, allocations: 1 kB / 0.914 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.8462, allocations: 3.797 kB / 0.914 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.8462, allocations: 12.61 kB / 0.9141 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.8467, allocations: 68 kB / 0.9141 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.8468, allocations: 57.2 kB / 0.9142 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.8469, allocations: 18.69 kB / 0.9142 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.847, allocations: 19.41 kB / 0.9142 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.8471, allocations: 25.64 kB / 0.9142 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.8471, allocations: 4.656 kB / 0.9142 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.8472, allocations: 16.98 kB / 0.9143 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.8473, allocations: 11.44 kB / 0.9143 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.8473, allocations: 22.77 kB / 0.9143 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.8475, allocations: 63.72 kB / 0.9144 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8475, allocations: 1 kB / 0.9144 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8475, allocations: 0 / 0.9144 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8476, allocations: 5.922 kB / 0.9144 GB, free: 5.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008378/0.8484, allocations: 378.9 kB / 0.9147 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.8485, allocations: 10.92 kB / 0.9147 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.8485, allocations: 32.5 kB / 0.9148 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.8486, allocations: 3.656 kB / 0.9148 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.8487, allocations: 178.8 kB / 0.9149 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.8488, allocations: 2.219 kB / 0.9149 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.8488, allocations: 6.219 kB / 0.9149 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.8492, allocations: 72.34 kB / 0.915 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8492, allocations: 3.938 kB / 0.915 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.8492, allocations: 9.312 kB / 0.915 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8492, allocations: 1.062 kB / 0.915 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.8497, allocations: 67.55 kB / 0.9151 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.8502, allocations: 287.9 kB / 0.9154 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.8505, allocations: 54.44 kB / 0.9154 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.8507, allocations: 40.97 kB / 0.9155 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.851, allocations: 93.81 kB / 0.9155 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.851, allocations: 34.92 kB / 0.9156 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.8511, allocations: 0.9688 kB / 0.9156 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0008465/0.8519, allocations: 130.2 kB / 0.9157 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.852, allocations: 55.58 kB / 0.9158 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.8521, allocations: 117.3 kB / 0.9159 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.8522, allocations: 25.7 kB / 0.9159 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.8522, allocations: 92.66 kB / 0.916 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.8523, allocations: 9.391 kB / 0.916 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.8523, allocations: 13.94 kB / 0.916 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8525, allocations: 321.3 kB / 0.9163 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.8527, allocations: 34.94 kB / 0.9163 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.8529, allocations: 31.55 kB / 0.9164 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.8534, allocations: 68.45 kB / 0.9164 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8534, allocations: 5.203 kB / 0.9164 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005234/0.8539, allocations: 95.05 kB / 0.9165 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.854, allocations: 6.062 kB / 0.9165 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.854, allocations: 1.5 kB / 0.9165 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.854, allocations: 0.9062 kB / 0.9165 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.8542, allocations: 15.06 kB / 0.9166 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.8542, allocations: 8.797 kB / 0.9166 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.8543, allocations: 25.14 kB / 0.9166 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8544, allocations: 0.5625 kB / 0.9166 GB, free: 19.82 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 9.816e-05/0.8545, allocations: 113 kB / 0.9167 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.8545, allocations: 3.141 kB / 0.9167 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.855, allocations: 110.2 kB / 0.9168 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8551, allocations: 1.328 kB / 0.9168 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.8551, allocations: 1.094 kB / 0.9168 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8551, allocations: 0.75 kB / 0.9168 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.8553, allocations: 176.5 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8554, allocations: 0 / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.8555, allocations: 14.86 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.8555, allocations: 1.484 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8555, allocations: 3.938 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8555, allocations: 6.172 kB / 0.917 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8556, allocations: 0 / 0.917 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.8562, allocations: 201 kB / 0.9172 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.8562, allocations: 83.12 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.8563, allocations: 6.906 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.8565, allocations: 15.2 kB / 0.9173 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.8565, allocations: 6.641 kB / 0.9173 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.8566, allocations: 1.328 kB / 0.9173 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.8567, allocations: 96.39 kB / 0.9174 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8567, allocations: 1.203 kB / 0.9174 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002407/0.8569, allocations: 16.34 kB / 0.9174 GB, free: 19.14 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.0008244/0.8577, allocations: 0.7397 MB / 0.9181 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.8583, allocations: 74.11 kB / 0.9182 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8583, allocations: 0 / 0.9182 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.8585, allocations: 35.61 kB / 0.9182 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.859, allocations: 13.08 kB / 0.9183 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.8616, allocations: 1.437 MB / 0.9197 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.8619, allocations: 0.6817 MB / 0.9203 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.8619, allocations: 9.266 kB / 0.9203 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.8619, allocations: 15.31 kB / 0.9203 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.862, allocations: 0 / 0.9203 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.884, allocations: 2.051 MB / 0.9223 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/8.353, allocations: 12.5 kB / 0.9224 GB, free: 16.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)