Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001934/0.001934, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 287.2 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9589/0.9589, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 86 kB / 0.5945 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1901, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002855/0.193, allocations: 1.719 MB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5199/0.7129, allocations: 147.4 MB / 0.8251 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.7131, allocations: 1 kB / 0.8251 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.7133, allocations: 18.05 kB / 0.8251 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.7135, allocations: 47.86 kB / 0.8251 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.7139, allocations: 157 kB / 0.8253 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.7141, allocations: 160.9 kB / 0.8254 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.7143, allocations: 31.31 kB / 0.8255 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.716, allocations: 176.4 kB / 0.8256 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.7162, allocations: 57.3 kB / 0.8257 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.7162, allocations: 5.562 kB / 0.8257 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.7166, allocations: 169.3 kB / 0.8259 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.7166, allocations: 21.5 kB / 0.8259 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.7167, allocations: 52.77 kB / 0.8259 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.717, allocations: 197.7 kB / 0.8261 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.717, allocations: 5.125 kB / 0.8261 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.717, allocations: 3.938 kB / 0.8261 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.717, allocations: 0 / 0.8261 GB, free: 0.8203 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008588/0.7179, allocations: 460.4 kB / 0.8266 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7179, allocations: 8.688 kB / 0.8266 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006509/0.7186, allocations: 57.67 kB / 0.8266 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.7188, allocations: 203.8 kB / 0.8268 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.7188, allocations: 10.88 kB / 0.8268 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.7189, allocations: 7.562 kB / 0.8268 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.7193, allocations: 179.2 kB / 0.827 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.7193, allocations: 7.531 kB / 0.827 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.7193, allocations: 1.094 kB / 0.827 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.7193, allocations: 2.219 kB / 0.827 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.7198, allocations: 141.9 kB / 0.8272 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.721, allocations: 0.8255 MB / 0.828 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.7214, allocations: 129.4 kB / 0.8281 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.7216, allocations: 84.12 kB / 0.8282 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.7217, allocations: 2.297 kB / 0.8282 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7217, allocations: 39.22 kB / 0.8282 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.7217, allocations: 1.25 kB / 0.8282 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001978/0.7237, allocations: 456.5 kB / 0.8286 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7237, allocations: 60.38 kB / 0.8287 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7239, allocations: 152.5 kB / 0.8288 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.7239, allocations: 30.08 kB / 0.8289 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.724, allocations: 107 kB / 0.829 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.724, allocations: 28.03 kB / 0.829 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.7241, allocations: 31.02 kB / 0.829 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7242, allocations: 321 kB / 0.8293 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.7244, allocations: 74.86 kB / 0.8294 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.7247, allocations: 100.7 kB / 0.8295 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.7252, allocations: 177.9 kB / 0.8297 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7252, allocations: 5.312 kB / 0.8297 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001019/0.7262, allocations: 276.5 kB / 0.8299 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7262, allocations: 5.312 kB / 0.8299 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7262, allocations: 5.312 kB / 0.8299 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.7269, allocations: 86.05 kB / 0.83 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.7271, allocations: 33.77 kB / 0.8301 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.7292, allocations: 1.553 MB / 0.8316 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.7294, allocations: 28.44 kB / 0.8316 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.7295, allocations: 9.766 kB / 0.8316 GB, free: 13.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.7296, allocations: 126 kB / 0.8317 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.7296, allocations: 9.688 kB / 0.8317 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.7307, allocations: 304.1 kB / 0.832 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7307, allocations: 1.594 kB / 0.832 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7307, allocations: 0 / 0.832 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7307, allocations: 8.938 kB / 0.832 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.7311, allocations: 256.2 kB / 0.8323 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7311, allocations: 0 / 0.8323 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.7313, allocations: 32.97 kB / 0.8323 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.7318, allocations: 84.62 kB / 0.8324 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.7319, allocations: 7.25 kB / 0.8324 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.7339, allocations: 1.567 MB / 0.8339 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7339, allocations: 2.391 kB / 0.8339 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.7349, allocations: 385 kB / 0.8343 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.735, allocations: 106.6 kB / 0.8344 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.7351, allocations: 4.938 kB / 0.8344 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.7353, allocations: 14.69 kB / 0.8344 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.7354, allocations: 16.27 kB / 0.8344 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.7354, allocations: 4.344 kB / 0.8344 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.216e-05/0.7355, allocations: 117.4 kB / 0.8346 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7355, allocations: 0 / 0.8346 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003317/0.7358, allocations: 44 kB / 0.8346 GB, free: 11.01 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.736, allocations: 120.2 kB / 0.8347 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009162/0.7369, allocations: 304.8 kB / 0.835 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7369, allocations: 0 / 0.835 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.7375, allocations: 231.4 kB / 0.8352 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.7378, allocations: 34 kB / 0.8353 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.7386, allocations: 350.6 kB / 0.8356 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.7389, allocations: 0.7121 MB / 0.8363 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.7391, allocations: 25.88 kB / 0.8363 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.7392, allocations: 19.22 kB / 0.8363 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7392, allocations: 1.062 kB / 0.8363 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.006337/0.7455, allocations: 2.961 MB / 0.8392 GB, free: 8.578 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)