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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009412/0.0009413, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 270.5 kB / 291.4 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 15.64 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.187, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001329/0.1883, allocations: 0.9903 MB / 0.6855 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4516/0.6399, allocations: 119.6 MB / 0.8022 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.64, allocations: 1.75 kB / 0.8022 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.64, allocations: 0 / 0.8022 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.6401, allocations: 13.64 kB / 0.8023 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.6404, allocations: 42.11 kB / 0.8023 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.46e-05/0.6404, allocations: 23.84 kB / 0.8023 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.6405, allocations: 5.219 kB / 0.8023 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.6405, allocations: 9.531 kB / 0.8023 GB, free: 2.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.6406, allocations: 5.609 kB / 0.8023 GB, free: 2.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.6406, allocations: 5.25 kB / 0.8023 GB, free: 2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.6407, allocations: 13.45 kB / 0.8024 GB, free: 2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.6407, allocations: 4.375 kB / 0.8024 GB, free: 2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.6408, allocations: 31.89 kB / 0.8024 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.8e-05/0.6409, allocations: 19.59 kB / 0.8024 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6409, allocations: 1.312 kB / 0.8024 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6409, allocations: 0 / 0.8024 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.6409, allocations: 1.75 kB / 0.8024 GB, free: 17.96 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.0003239/0.6412, allocations: 327 kB / 0.8027 GB, free: 17.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6413, allocations: 11.44 kB / 0.8027 GB, free: 17.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.6413, allocations: 5.953 kB / 0.8027 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.6414, allocations: 160.4 kB / 0.8029 GB, free: 17.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.6415, allocations: 34.64 kB / 0.8029 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.6415, allocations: 5.219 kB / 0.8029 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.6416, allocations: 43.53 kB / 0.803 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.6417, allocations: 0 / 0.803 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.6417, allocations: 1.469 kB / 0.803 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6417, allocations: 0 / 0.803 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.6417, allocations: 13.23 kB / 0.803 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.6419, allocations: 154.1 kB / 0.8031 GB, free: 17.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.111e-05/0.642, allocations: 37.94 kB / 0.8032 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.642, allocations: 15.86 kB / 0.8032 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.6422, allocations: 92.91 kB / 0.8033 GB, free: 17.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.6422, allocations: 30.56 kB / 0.8033 GB, free: 16.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.6422, allocations: 0 / 0.8033 GB, free: 16.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001924/0.6424, allocations: 65.39 kB / 0.8034 GB, free: 16.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.6425, allocations: 51.41 kB / 0.8034 GB, free: 16.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.6425, allocations: 103.3 kB / 0.8035 GB, free: 16.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.6425, allocations: 25.7 kB / 0.8035 GB, free: 16.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.6426, allocations: 80.14 kB / 0.8036 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.6426, allocations: 5.781 kB / 0.8036 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.6426, allocations: 0 / 0.8036 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.6427, allocations: 316.9 kB / 0.8039 GB, free: 16.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.6427, allocations: 14.08 kB / 0.8039 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.6428, allocations: 4.5 kB / 0.8039 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.6428, allocations: 12.47 kB / 0.8039 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6428, allocations: 0 / 0.8039 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.883e-05/0.6429, allocations: 44.67 kB / 0.804 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.643, allocations: 7.344 kB / 0.804 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.643, allocations: 3.234 kB / 0.804 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.643, allocations: 6 kB / 0.804 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.643, allocations: 11.06 kB / 0.804 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6431, allocations: 0 / 0.804 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.6431, allocations: 8.531 kB / 0.804 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.6431, allocations: 5.422 kB / 0.804 GB, free: 16.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/0.6432, allocations: 115 kB / 0.8041 GB, free: 16.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-06/0.6432, allocations: 5.875 kB / 0.8041 GB, free: 16.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.6433, allocations: 52.27 kB / 0.8042 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6434, allocations: 2.844 kB / 0.8042 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6434, allocations: 4.875 kB / 0.8042 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6434, allocations: 0 / 0.8042 GB, free: 16.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.756e-05/0.6435, allocations: 160.4 kB / 0.8044 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6435, allocations: 0 / 0.8044 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.6435, allocations: 5.578 kB / 0.8044 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6435, allocations: 3.984 kB / 0.8044 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6435, allocations: 4.953 kB / 0.8044 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6435, allocations: 1.969 kB / 0.8044 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6436, allocations: 1.766 kB / 0.8044 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.6437, allocations: 84.28 kB / 0.8045 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.6437, allocations: 79.55 kB / 0.8045 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.6438, allocations: 0 / 0.8045 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/0.6438, allocations: 3.656 kB / 0.8045 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.6438, allocations: 3.594 kB / 0.8045 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.6438, allocations: 0 / 0.8045 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.6439, allocations: 81.3 kB / 0.8046 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6439, allocations: 0 / 0.8046 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001951/0.6441, allocations: 17.03 kB / 0.8046 GB, free: 15.68 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 (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.0001464/0.6442, allocations: 114.7 kB / 0.8047 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.6443, allocations: 17.42 kB / 0.8048 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6444, allocations: 1.281 kB / 0.8048 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.6444, allocations: 12.52 kB / 0.8048 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.6446, allocations: 10.11 kB / 0.8048 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.6449, allocations: 144.6 kB / 0.8049 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.6451, allocations: 0.6748 MB / 0.8056 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.6451, allocations: 13.09 kB / 0.8056 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.6452, allocations: 11.09 kB / 0.8056 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6452, allocations: 0 / 0.8056 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.002391/0.6476, allocations: 477.5 kB / 0.8061 GB, free: 14.7 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)