Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.902/2.902, allocations: 287.5 MB / 302.4 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 180.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008811/0.0008807, allocations: 92.97 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005091, allocations: 12.47 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001409/0.2284, allocations: 0.9938 MB / 0.9794 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8563/1.085, allocations: 119.6 MB / 1.096 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/1.085, allocations: 0 / 1.096 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/1.085, allocations: 3.938 kB / 1.096 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/1.085, allocations: 8.5 kB / 1.096 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/1.085, allocations: 44.34 kB / 1.096 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/1.085, allocations: 24.91 kB / 1.096 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/1.085, allocations: 1.703 kB / 1.096 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/1.086, allocations: 6.094 kB / 1.096 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/1.086, allocations: 13.03 kB / 1.096 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/1.086, allocations: 0.875 kB / 1.096 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/1.086, allocations: 11.73 kB / 1.096 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/1.086, allocations: 6.969 kB / 1.096 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/1.086, allocations: 31.98 kB / 1.096 GB, free: 18.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/1.086, allocations: 19.81 kB / 1.096 GB, free: 18.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.086, allocations: 3.938 kB / 1.096 GB, free: 18.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/1.086, allocations: 1.094 kB / 1.096 GB, free: 18.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.528e-06/1.086, allocations: 0 / 1.096 GB, free: 18.19 MB / 0.698 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.0004504/1.086, allocations: 327.6 kB / 1.097 GB, free: 17.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.087, allocations: 13.92 kB / 1.097 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/1.087, allocations: 35.7 kB / 1.097 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/1.087, allocations: 12.94 kB / 1.097 GB, free: 17.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.087, allocations: 171.5 kB / 1.097 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/1.087, allocations: 29.56 kB / 1.097 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/1.087, allocations: 1 kB / 1.097 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/1.087, allocations: 38.66 kB / 1.097 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.087, allocations: 0 / 1.097 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/1.087, allocations: 1.781 kB / 1.097 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/1.087, allocations: 0 / 1.097 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/1.087, allocations: 18.33 kB / 1.097 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/1.087, allocations: 159.8 kB / 1.097 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/1.088, allocations: 30.3 kB / 1.097 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/1.088, allocations: 14.31 kB / 1.097 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/1.088, allocations: 89.89 kB / 1.097 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.088, allocations: 31.22 kB / 1.097 GB, free: 17.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/1.088, allocations: 4 kB / 1.097 GB, free: 17.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003397/1.088, allocations: 59.23 kB / 1.097 GB, free: 17.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/1.088, allocations: 52.66 kB / 1.097 GB, free: 17.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/1.088, allocations: 98.5 kB / 1.098 GB, free: 16.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.089, allocations: 28.12 kB / 1.098 GB, free: 16.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/1.089, allocations: 80.14 kB / 1.098 GB, free: 16.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/1.089, allocations: 5.984 kB / 1.098 GB, free: 16.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/1.089, allocations: 4.031 kB / 1.098 GB, free: 16.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.089, allocations: 320.8 kB / 1.098 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/1.089, allocations: 5.703 kB / 1.098 GB, free: 16.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/1.089, allocations: 10.69 kB / 1.098 GB, free: 16.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.455e-05/1.089, allocations: 6.672 kB / 1.098 GB, free: 16.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.089, allocations: 0 / 1.098 GB, free: 16.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001961/1.089, allocations: 56.31 kB / 1.098 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.089, allocations: 5.062 kB / 1.098 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.089, allocations: 0 / 1.098 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.089, allocations: 5.781 kB / 1.098 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/1.089, allocations: 6.422 kB / 1.098 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.089, allocations: 0.5469 kB / 1.098 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/1.089, allocations: 8.312 kB / 1.098 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/1.089, allocations: 2.266 kB / 1.098 GB, free: 16.47 MB / 0.698 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 8.822e-05/1.09, allocations: 114.4 kB / 1.098 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/1.09, allocations: 5.188 kB / 1.098 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/1.09, allocations: 64.12 kB / 1.098 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.09, allocations: 5.344 kB / 1.098 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.09, allocations: 1.859 kB / 1.098 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.09, allocations: 0 / 1.098 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/1.09, allocations: 159 kB / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.09, allocations: 0 / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/1.09, allocations: 10.36 kB / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.09, allocations: 0.7031 kB / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.09, allocations: 0.875 kB / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.09, allocations: 0 / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.09, allocations: 5.062 kB / 1.098 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/1.09, allocations: 80.42 kB / 1.098 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/1.091, allocations: 87.83 kB / 1.099 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.091, allocations: 0.6562 kB / 1.099 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/1.091, allocations: 4.312 kB / 1.099 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/1.091, allocations: 2.922 kB / 1.099 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/1.091, allocations: 1.156 kB / 1.099 GB, free: 15.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.854e-05/1.091, allocations: 83.05 kB / 1.099 GB, free: 15.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.091, allocations: 4 kB / 1.099 GB, free: 15.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000268/1.091, allocations: 8.719 kB / 1.099 GB, free: 15.86 MB / 0.698 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.0005933/1.092, allocations: 0.6181 MB / 1.099 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001977/1.092, allocations: 23.91 kB / 1.099 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.092, allocations: 1.062 kB / 1.099 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/1.092, allocations: 13.19 kB / 1.099 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.092, allocations: 7.328 kB / 1.099 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/1.093, allocations: 173.9 kB / 1.099 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.093, allocations: 0.6788 MB / 1.1 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.495e-05/1.093, allocations: 1.938 kB / 1.1 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/1.093, allocations: 12.72 kB / 1.1 GB, free: 14.4 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.093, allocations: 0 / 1.1 GB, free: 14.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/1.113, allocations: 1.153 MB / 1.101 GB, free: 14.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/1.114, allocations: 204.1 kB / 1.101 GB, free: 14.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.623, allocations: 3.938 kB / 1.101 GB, free: 14.02 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)