Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009494/0.0009495, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006101/0.006101, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 270.4 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004324, allocations: 11.47 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001057/0.1682, allocations: 1 MB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4349/0.6031, allocations: 128.5 MB / 0.8117 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.6031, allocations: 3.938 kB / 0.8117 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.6032, allocations: 1 kB / 0.8117 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.6032, allocations: 8.234 kB / 0.8117 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.6035, allocations: 57.78 kB / 0.8118 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.6036, allocations: 19.42 kB / 0.8118 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.6036, allocations: 6.5 kB / 0.8118 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.6036, allocations: 9.469 kB / 0.8118 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.6037, allocations: 7.438 kB / 0.8118 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.6037, allocations: 1.094 kB / 0.8118 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.6038, allocations: 12.84 kB / 0.8118 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.6038, allocations: 5.484 kB / 0.8118 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.6039, allocations: 38.47 kB / 0.8119 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.532e-05/0.604, allocations: 20.53 kB / 0.8119 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.604, allocations: 0 / 0.8119 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.604, allocations: 4.5 kB / 0.8119 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.604, allocations: 0 / 0.8119 GB, free: 16.93 MB / 0.5606 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.0003218/0.6043, allocations: 331.5 kB / 0.8122 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6044, allocations: 9.375 kB / 0.8122 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.6044, allocations: 31.59 kB / 0.8122 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.6044, allocations: 6.719 kB / 0.8122 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.6045, allocations: 168.4 kB / 0.8124 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.6046, allocations: 28.2 kB / 0.8124 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.6046, allocations: 10.03 kB / 0.8124 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.6047, allocations: 43.28 kB / 0.8125 GB, free: 16.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.6047, allocations: 0.5 kB / 0.8125 GB, free: 16.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.6047, allocations: 0.5938 kB / 0.8125 GB, free: 16.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6048, allocations: 0.6562 kB / 0.8125 GB, free: 16.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.6048, allocations: 11.8 kB / 0.8125 GB, free: 16.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.605, allocations: 157.6 kB / 0.8126 GB, free: 16.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.6051, allocations: 33.48 kB / 0.8127 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.6051, allocations: 20.02 kB / 0.8127 GB, free: 16.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.6053, allocations: 88.61 kB / 0.8128 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6053, allocations: 35.03 kB / 0.8128 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6053, allocations: 0.5625 kB / 0.8128 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002265/0.6055, allocations: 61.38 kB / 0.8129 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.6056, allocations: 52.44 kB / 0.8129 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.6056, allocations: 99.81 kB / 0.813 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.6057, allocations: 26.45 kB / 0.813 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.6057, allocations: 81.23 kB / 0.8131 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.6057, allocations: 14.75 kB / 0.8131 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.6057, allocations: 10.75 kB / 0.8131 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.6058, allocations: 311.3 kB / 0.8134 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.6059, allocations: 22.2 kB / 0.8135 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.6059, allocations: 8.891 kB / 0.8135 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.606, allocations: 21.3 kB / 0.8135 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.606, allocations: 0 / 0.8135 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000124/0.6061, allocations: 47.89 kB / 0.8135 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6062, allocations: 8.906 kB / 0.8135 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6062, allocations: 0.5312 kB / 0.8135 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.6062, allocations: 2.812 kB / 0.8135 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.6063, allocations: 9.125 kB / 0.8136 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.6063, allocations: 0.5625 kB / 0.8136 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.6063, allocations: 8.219 kB / 0.8136 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.6063, allocations: 1.062 kB / 0.8136 GB, free: 15.19 MB / 0.5606 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.967e-05/0.6064, allocations: 112.1 kB / 0.8137 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.6064, allocations: 9.469 kB / 0.8137 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.6066, allocations: 57.08 kB / 0.8137 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6066, allocations: 0.8438 kB / 0.8137 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6066, allocations: 4 kB / 0.8137 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6066, allocations: 0.8125 kB / 0.8137 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.829e-05/0.6067, allocations: 150 kB / 0.8139 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6067, allocations: 3.234 kB / 0.8139 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.6067, allocations: 4.188 kB / 0.8139 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6067, allocations: 6.375 kB / 0.8139 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.6067, allocations: 3.5 kB / 0.8139 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6067, allocations: 3.484 kB / 0.8139 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6067, allocations: 3.938 kB / 0.8139 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.6069, allocations: 72.61 kB / 0.814 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.6069, allocations: 85.31 kB / 0.8141 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.607, allocations: 4.062 kB / 0.8141 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.693e-05/0.607, allocations: 1.062 kB / 0.8141 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.607, allocations: 4.016 kB / 0.8141 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.607, allocations: 1.062 kB / 0.8141 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.6071, allocations: 80.67 kB / 0.8141 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6071, allocations: 0 / 0.8141 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001856/0.6073, allocations: 12.41 kB / 0.8142 GB, free: 14.59 MB / 0.5606 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.0004082/0.6077, allocations: 0.6263 MB / 0.8148 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.6078, allocations: 27.41 kB / 0.8148 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6078, allocations: 4 kB / 0.8148 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.6079, allocations: 13.5 kB / 0.8148 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.6081, allocations: 7.438 kB / 0.8148 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.6085, allocations: 178.4 kB / 0.815 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.6087, allocations: 0.6754 MB / 0.8156 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.6088, allocations: 7.719 kB / 0.8157 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.6088, allocations: 9.625 kB / 0.8157 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6088, allocations: 0 / 0.8157 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09865/0.7074, allocations: 1.172 MB / 0.8168 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.7076, allocations: 236.7 kB / 0.817 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.518, allocations: 1 kB / 0.817 GB, free: 12.72 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)