Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, 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.001011/0.001011, allocations: 195.2 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.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 278.7 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001645, allocations: 92.72 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.173, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003374/0.1765, allocations: 1.968 MB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5333/0.7098, allocations: 153.1 MB / 0.8309 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.71, allocations: 1.562 kB / 0.8309 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.7103, allocations: 18.69 kB / 0.8309 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.7106, allocations: 66.22 kB / 0.831 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.7115, allocations: 226.8 kB / 0.8312 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.7118, allocations: 251.4 kB / 0.8314 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.712, allocations: 65.95 kB / 0.8315 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.7141, allocations: 230.6 kB / 0.8317 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.7143, allocations: 90.7 kB / 0.8318 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.7143, allocations: 8.5 kB / 0.8318 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.7148, allocations: 179.4 kB / 0.832 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.7149, allocations: 38.3 kB / 0.832 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.7151, allocations: 91.62 kB / 0.8321 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.7155, allocations: 271.2 kB / 0.8324 GB, free: 248 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7155, allocations: 4.344 kB / 0.8324 GB, free: 248 kB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.7155, allocations: 0 / 0.8324 GB, free: 248 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7155, allocations: 4 kB / 0.8324 GB, free: 244 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001077/0.7166, allocations: 0.5255 MB / 0.8329 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7166, allocations: 12.81 kB / 0.8329 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.7175, allocations: 79.31 kB / 0.833 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.7178, allocations: 225.1 kB / 0.8332 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.7179, allocations: 48.41 kB / 0.8332 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.718, allocations: 13.25 kB / 0.8333 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.7185, allocations: 261.7 kB / 0.8335 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7186, allocations: 9 kB / 0.8335 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.7186, allocations: 9.031 kB / 0.8335 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.7186, allocations: 4.531 kB / 0.8335 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.7191, allocations: 170.9 kB / 0.8337 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.7208, allocations: 1.179 MB / 0.8348 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.7216, allocations: 206.7 kB / 0.835 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.7217, allocations: 71.94 kB / 0.8351 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.7218, allocations: 1.344 kB / 0.8351 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.7218, allocations: 39.56 kB / 0.8351 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.7218, allocations: 0 / 0.8351 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002784/0.7246, allocations: 0.6212 MB / 0.8358 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.7247, allocations: 56.69 kB / 0.8358 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.7249, allocations: 221.3 kB / 0.836 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.725, allocations: 30.52 kB / 0.8361 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.7251, allocations: 144.7 kB / 0.8362 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.7251, allocations: 37.41 kB / 0.8362 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.7252, allocations: 49.28 kB / 0.8363 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7253, allocations: 330 kB / 0.8366 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.7256, allocations: 67.81 kB / 0.8367 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.7258, allocations: 128.8 kB / 0.8368 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.7262, allocations: 201.8 kB / 0.837 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7263, allocations: 1.125 kB / 0.837 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001486/0.7277, allocations: 375.5 kB / 0.8373 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7278, allocations: 5.562 kB / 0.8373 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7278, allocations: 1.344 kB / 0.8373 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.7289, allocations: 163.2 kB / 0.8375 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.7292, allocations: 39.61 kB / 0.8375 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.733, allocations: 3.034 MB / 0.8405 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.7334, allocations: 35.42 kB / 0.8405 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.7334, allocations: 13.52 kB / 0.8405 GB, free: 10.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.7336, allocations: 130 kB / 0.8407 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.7337, allocations: 21.06 kB / 0.8407 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.735, allocations: 375.3 kB / 0.841 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.735, allocations: 5.734 kB / 0.841 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.735, allocations: 3.938 kB / 0.841 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.735, allocations: 0 / 0.841 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.7353, allocations: 279.6 kB / 0.8413 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7353, allocations: 0 / 0.8413 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.7355, allocations: 19.83 kB / 0.8413 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009632/0.7365, allocations: 167.2 kB / 0.8415 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.7365, allocations: 5.594 kB / 0.8415 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/0.74, allocations: 3.068 MB / 0.8445 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.74, allocations: 1.375 kB / 0.8445 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.7412, allocations: 439.5 kB / 0.8449 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.7414, allocations: 113.5 kB / 0.845 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.7414, allocations: 5.469 kB / 0.845 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.7417, allocations: 19.23 kB / 0.845 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.7418, allocations: 22.75 kB / 0.8451 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.7418, allocations: 9.188 kB / 0.8451 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001846/0.742, allocations: 160.8 kB / 0.8452 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/0.742, allocations: 0 / 0.8452 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004947/0.7425, allocations: 69.12 kB / 0.8453 GB, free: 6.766 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/0.7428, allocations: 121 kB / 0.8454 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.7438, allocations: 441.9 kB / 0.8458 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7438, allocations: 1.281 kB / 0.8458 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.7445, allocations: 353.3 kB / 0.8462 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.7449, allocations: 51.66 kB / 0.8462 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.7459, allocations: 495.5 kB / 0.8467 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.7461, allocations: 0.7322 MB / 0.8474 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.7464, allocations: 41.47 kB / 0.8474 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.7464, allocations: 22.33 kB / 0.8475 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.7464, allocations: 0 / 0.8475 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.009426/0.7559, allocations: 4.961 MB / 0.8523 GB, free: 2.57 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)