Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.00109/0.00109, allocations: 180 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.0008369/0.0008367, allocations: 90.86 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004491, allocations: 16.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001149/0.2183, allocations: 0.9901 MB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6477/0.8661, allocations: 111.9 MB / 1.09 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.8661, allocations: 0 / 1.09 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.8662, allocations: 1.641 kB / 1.09 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.8662, allocations: 4.656 kB / 1.09 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.8666, allocations: 46.3 kB / 1.09 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.8667, allocations: 23.67 kB / 1.09 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.8667, allocations: 2.203 kB / 1.09 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.8668, allocations: 17.45 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.8669, allocations: 5.641 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.8669, allocations: 0.8438 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.867, allocations: 13.58 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.867, allocations: 2.828 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.8671, allocations: 31.23 kB / 1.09 GB, free: 19.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.8672, allocations: 17.77 kB / 1.09 GB, free: 19.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8672, allocations: 3.938 kB / 1.09 GB, free: 19.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8672, allocations: 2.703 kB / 1.09 GB, free: 19.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.8673, allocations: 4 kB / 1.09 GB, free: 19.36 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.000444/0.8677, allocations: 330 kB / 1.09 GB, free: 19.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8678, allocations: 13.55 kB / 1.09 GB, free: 19.01 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.8678, allocations: 32.86 kB / 1.09 GB, free: 18.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.8679, allocations: 6.078 kB / 1.09 GB, free: 18.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.868, allocations: 165.4 kB / 1.09 GB, free: 18.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.348e-05/0.8681, allocations: 30.06 kB / 1.09 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.8681, allocations: 3.5 kB / 1.09 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.8683, allocations: 39.36 kB / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8683, allocations: 0 / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8683, allocations: 4.594 kB / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.8683, allocations: 0.7031 kB / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.8684, allocations: 18.3 kB / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.8686, allocations: 155.4 kB / 1.091 GB, free: 18.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.843e-05/0.8687, allocations: 31.11 kB / 1.091 GB, free: 18.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.8689, allocations: 94.62 kB / 1.091 GB, free: 18.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.8689, allocations: 32.56 kB / 1.091 GB, free: 18.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8689, allocations: 0 / 1.091 GB, free: 18.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002468/0.8692, allocations: 64.34 kB / 1.091 GB, free: 18.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.8692, allocations: 52.95 kB / 1.091 GB, free: 18.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.8693, allocations: 102.7 kB / 1.091 GB, free: 18.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.8693, allocations: 25.7 kB / 1.091 GB, free: 18.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.8693, allocations: 81.3 kB / 1.091 GB, free: 18.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.8694, allocations: 5.719 kB / 1.091 GB, free: 18.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.8694, allocations: 0.7812 kB / 1.091 GB, free: 18.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8695, allocations: 319 kB / 1.091 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.8696, allocations: 6 kB / 1.091 GB, free: 17.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.8696, allocations: 6.625 kB / 1.091 GB, free: 17.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.8697, allocations: 13.17 kB / 1.091 GB, free: 17.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.8697, allocations: 0 / 1.091 GB, free: 17.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001266/0.8698, allocations: 56.66 kB / 1.092 GB, free: 17.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8698, allocations: 4.906 kB / 1.092 GB, free: 17.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.8699, allocations: 2.688 kB / 1.092 GB, free: 17.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8699, allocations: 5.031 kB / 1.092 GB, free: 17.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.87, allocations: 5.531 kB / 1.092 GB, free: 17.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.87, allocations: 1.094 kB / 1.092 GB, free: 17.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.87, allocations: 8.328 kB / 1.092 GB, free: 17.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.87, allocations: 5.156 kB / 1.092 GB, free: 17.66 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 7.121e-05/0.8701, allocations: 112.1 kB / 1.092 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.8701, allocations: 1.719 kB / 1.092 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.8703, allocations: 57.86 kB / 1.092 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8703, allocations: 0.8125 kB / 1.092 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.8703, allocations: 0.7969 kB / 1.092 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8703, allocations: 4.656 kB / 1.092 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.8704, allocations: 155.9 kB / 1.092 GB, free: 17.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8704, allocations: 0.6562 kB / 1.092 GB, free: 17.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.8705, allocations: 10.48 kB / 1.092 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.8705, allocations: 0.7031 kB / 1.092 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.8705, allocations: 2.938 kB / 1.092 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8705, allocations: 0 / 1.092 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.8705, allocations: 1.609 kB / 1.092 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.8707, allocations: 71.38 kB / 1.092 GB, free: 17.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.8707, allocations: 88.44 kB / 1.092 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.8707, allocations: 5.25 kB / 1.092 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.8708, allocations: 2.031 kB / 1.092 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.8708, allocations: 2.719 kB / 1.092 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.8708, allocations: 7.906 kB / 1.092 GB, free: 17.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.8709, allocations: 79.28 kB / 1.092 GB, free: 17.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.522e-06/0.8709, allocations: 0 / 1.092 GB, free: 17.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001979/0.8711, allocations: 16.69 kB / 1.092 GB, free: 17.05 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.0004898/0.8716, allocations: 0.6279 MB / 1.093 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.8717, allocations: 19.86 kB / 1.093 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8717, allocations: 0 / 1.093 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.8718, allocations: 15.55 kB / 1.093 GB, free: 16.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.872, allocations: 9 kB / 1.093 GB, free: 16.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.8724, allocations: 172.5 kB / 1.093 GB, free: 16.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.8726, allocations: 0.6781 MB / 1.094 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.8727, allocations: 6.219 kB / 1.094 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.8727, allocations: 11.3 kB / 1.094 GB, free: 15.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.8727, allocations: 1.859 kB / 1.094 GB, free: 15.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.8847, allocations: 1.128 MB / 1.095 GB, free: 15.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.8849, allocations: 217.8 kB / 1.095 GB, free: 15.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.386, allocations: 4 kB / 1.095 GB, free: 15.2 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)