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.001512/0.001512, 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.001888/0.001888, allocations: 188.4 kB / 16.62 MB, free: 6.613 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.669/1.669, 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.001421/0.001421, allocations: 71.56 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2173, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002599/0.22, allocations: 1.279 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5628/0.7828, allocations: 132 MB / 0.9138 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.7829, allocations: 0.75 kB / 0.9138 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.7829, allocations: 3.75 kB / 0.9138 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.783, allocations: 4.531 kB / 0.9138 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.7834, allocations: 57.56 kB / 0.9139 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.7834, allocations: 27.78 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.7835, allocations: 4.625 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.7836, allocations: 8.109 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.7836, allocations: 12.62 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.7836, allocations: 1 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.7837, allocations: 15.23 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.7837, allocations: 5.844 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.7838, allocations: 7.391 kB / 0.9139 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.7839, allocations: 28.88 kB / 0.914 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7839, allocations: 1 kB / 0.914 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7839, allocations: 0 / 0.914 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.784, allocations: 4 kB / 0.914 GB, free: 5.699 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.00062/0.7846, allocations: 331.7 kB / 0.9143 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7846, allocations: 9.797 kB / 0.9143 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.7847, allocations: 32.34 kB / 0.9143 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.7847, allocations: 6.75 kB / 0.9143 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.7848, allocations: 163.5 kB / 0.9145 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.7849, allocations: 33.83 kB / 0.9145 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.7849, allocations: 2.25 kB / 0.9145 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.785, allocations: 46.97 kB / 0.9146 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.785, allocations: 0 / 0.9146 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.7851, allocations: 0.9062 kB / 0.9146 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7851, allocations: 1.125 kB / 0.9146 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.7852, allocations: 15.22 kB / 0.9146 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.7853, allocations: 150 kB / 0.9147 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.7854, allocations: 36.42 kB / 0.9148 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.7855, allocations: 17.59 kB / 0.9148 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.7856, allocations: 89.09 kB / 0.9149 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.7857, allocations: 39.47 kB / 0.9149 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7857, allocations: 0 / 0.9149 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002336/0.7859, allocations: 55.41 kB / 0.915 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.786, allocations: 59.16 kB / 0.915 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.7861, allocations: 99.06 kB / 0.9151 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.7861, allocations: 27.02 kB / 0.9151 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.7861, allocations: 81.11 kB / 0.9152 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.7861, allocations: 13.94 kB / 0.9152 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.7862, allocations: 17.22 kB / 0.9152 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7863, allocations: 314 kB / 0.9155 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.7863, allocations: 6.844 kB / 0.9155 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.7864, allocations: 13.69 kB / 0.9156 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.7865, allocations: 23.05 kB / 0.9156 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7865, allocations: 4.938 kB / 0.9156 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001253/0.7866, allocations: 50.59 kB / 0.9156 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7866, allocations: 9.938 kB / 0.9156 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7866, allocations: 0 / 0.9156 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7867, allocations: 1.438 kB / 0.9156 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.7867, allocations: 5.828 kB / 0.9157 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.7868, allocations: 4.875 kB / 0.9157 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.7868, allocations: 3.672 kB / 0.9157 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.7868, allocations: 1.344 kB / 0.9157 GB, free: 19.98 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.163e-05/0.7869, allocations: 108.2 kB / 0.9158 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.7869, allocations: 5.438 kB / 0.9158 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.7871, allocations: 60.11 kB / 0.9158 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7871, allocations: 1.734 kB / 0.9158 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7871, allocations: 0.9062 kB / 0.9158 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7871, allocations: 4.656 kB / 0.9158 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.257e-05/0.7872, allocations: 157.3 kB / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7872, allocations: 0 / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.7872, allocations: 5.922 kB / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7872, allocations: 5.875 kB / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7873, allocations: 1.516 kB / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7873, allocations: 0.9375 kB / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7873, allocations: 1.25 kB / 0.916 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.7874, allocations: 81.14 kB / 0.9161 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.7875, allocations: 83.58 kB / 0.9162 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.7875, allocations: 4.672 kB / 0.9162 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.7875, allocations: 2.641 kB / 0.9162 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.7876, allocations: 2.281 kB / 0.9162 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.7876, allocations: 3.766 kB / 0.9162 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.7876, allocations: 80.91 kB / 0.9162 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7876, allocations: 0 / 0.9162 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000191/0.7878, allocations: 12.55 kB / 0.9163 GB, free: 19.38 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.0004416/0.7883, allocations: 0.6254 MB / 0.9169 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.7884, allocations: 21.14 kB / 0.9169 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7884, allocations: 0 / 0.9169 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.7885, allocations: 18.17 kB / 0.9169 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.7888, allocations: 10.8 kB / 0.9169 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.7892, allocations: 159.8 kB / 0.9171 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.7895, allocations: 0.6847 MB / 0.9177 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.7895, allocations: 7.109 kB / 0.9177 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.7896, allocations: 13.92 kB / 0.9178 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7896, allocations: 0 / 0.9178 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.806, allocations: 1.356 MB / 0.9191 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.816, allocations: 10.22 kB / 0.9191 GB, free: 17.57 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)