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.001184/0.001183, allocations: 108 kB / 15.61 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.001252/0.001252, allocations: 198 kB / 16.53 MB, free: 6.668 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 286.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9595/0.9595, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 95.06 kB / 0.5953 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1861, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.004088/0.1903, allocations: 1.281 MB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4733/0.6636, allocations: 132 MB / 0.8105 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.6637, allocations: 0 / 0.8105 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.6638, allocations: 4.438 kB / 0.8105 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.6639, allocations: 3.938 kB / 0.8105 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.6643, allocations: 62.58 kB / 0.8105 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.6644, allocations: 24.91 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.6644, allocations: 4.312 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.6645, allocations: 9.891 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.6645, allocations: 12.53 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.6646, allocations: 0 / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.6646, allocations: 12.34 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.6647, allocations: 4.484 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.6647, allocations: 10.47 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/0.6648, allocations: 25.86 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6648, allocations: 4 kB / 0.8106 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6648, allocations: 0 / 0.8106 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6648, allocations: 0 / 0.8106 GB, free: 2.664 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.0004959/0.6653, allocations: 330.7 kB / 0.8109 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6654, allocations: 9.438 kB / 0.811 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.6654, allocations: 39.31 kB / 0.811 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.6654, allocations: 4.047 kB / 0.811 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.982e-05/0.6655, allocations: 168.6 kB / 0.8112 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.6656, allocations: 34.45 kB / 0.8112 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.6656, allocations: 384 / 0.8112 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.6657, allocations: 43.44 kB / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.6658, allocations: 0 / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.6658, allocations: 3.281 kB / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.6658, allocations: 0 / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.6659, allocations: 11.25 kB / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.666, allocations: 157.6 kB / 0.8114 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.6661, allocations: 36.11 kB / 0.8114 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.6662, allocations: 14.92 kB / 0.8114 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.6663, allocations: 89.03 kB / 0.8115 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6664, allocations: 40.84 kB / 0.8116 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6664, allocations: 0 / 0.8116 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002307/0.6666, allocations: 61.73 kB / 0.8116 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6666, allocations: 51.41 kB / 0.8117 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.853e-05/0.6667, allocations: 98.8 kB / 0.8118 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.6667, allocations: 25.7 kB / 0.8118 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.6668, allocations: 80.7 kB / 0.8119 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.6668, allocations: 13.39 kB / 0.8119 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.6668, allocations: 17.48 kB / 0.8119 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.6669, allocations: 312.2 kB / 0.8122 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.667, allocations: 13.94 kB / 0.8122 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.667, allocations: 6.406 kB / 0.8122 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.6671, allocations: 24.62 kB / 0.8122 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6671, allocations: 0 / 0.8122 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001182/0.6672, allocations: 58.14 kB / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6672, allocations: 7.812 kB / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.6672, allocations: 0 / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6673, allocations: 0 / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.6673, allocations: 12.19 kB / 0.8123 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6673, allocations: 1.203 kB / 0.8123 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.6674, allocations: 2.219 kB / 0.8123 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.6674, allocations: 0 / 0.8123 GB, free: 16.92 MB / 0.5762 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 6.199e-05/0.6675, allocations: 114 kB / 0.8124 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.6675, allocations: 6.281 kB / 0.8124 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.6676, allocations: 59 kB / 0.8125 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6676, allocations: 4 kB / 0.8125 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6676, allocations: 6.344 kB / 0.8125 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.6677, allocations: 0 / 0.8125 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.562e-05/0.6677, allocations: 151.9 kB / 0.8126 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6678, allocations: 2.297 kB / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.6678, allocations: 6.156 kB / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6678, allocations: 3.938 kB / 0.8127 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.6678, allocations: 3.734 kB / 0.8127 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6678, allocations: 2.438 kB / 0.8127 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6678, allocations: 1.531 kB / 0.8127 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.668, allocations: 79.91 kB / 0.8127 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.668, allocations: 87.3 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.668, allocations: 3.656 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.6681, allocations: 1.781 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.6681, allocations: 1.062 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.6681, allocations: 2.094 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.6682, allocations: 84.61 kB / 0.8129 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6682, allocations: 7.938 kB / 0.8129 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001868/0.6684, allocations: 6.938 kB / 0.8129 GB, free: 16.31 MB / 0.5762 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.0004045/0.6688, allocations: 0.6209 MB / 0.8135 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.6689, allocations: 20.78 kB / 0.8136 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6689, allocations: 7.938 kB / 0.8136 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.669, allocations: 11.05 kB / 0.8136 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6692, allocations: 7.625 kB / 0.8136 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.6696, allocations: 160 kB / 0.8137 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.6698, allocations: 0.6777 MB / 0.8144 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.6698, allocations: 4 kB / 0.8144 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.6699, allocations: 12 kB / 0.8144 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6699, allocations: 0 / 0.8144 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3225/0.9924, allocations: 1.372 MB / 0.8158 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/11, allocations: 12.25 kB / 0.8158 GB, free: 14.5 MB / 0.5762 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)