Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00108/0.00108, allocations: 102.7 kB / 16.27 MB, free: 6.309 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.001188/0.001188, allocations: 191.6 kB / 17.19 MB, free: 5.93 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7578/0.7578, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.91 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4252, allocations: 77.93 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003786/0.4291, allocations: 1.897 MB / 0.5691 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1751/0.6042, allocations: 155.4 MB / 0.7209 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.6044, allocations: 3.938 kB / 0.7209 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.6047, allocations: 31.67 kB / 0.7209 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.6051, allocations: 79.41 kB / 0.721 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.6059, allocations: 261.9 kB / 0.7212 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.6062, allocations: 263.2 kB / 0.7215 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.6064, allocations: 64.33 kB / 0.7215 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.6078, allocations: 252.1 kB / 0.7218 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.6079, allocations: 91.59 kB / 0.7219 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.608, allocations: 16 kB / 0.7219 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.6083, allocations: 183.7 kB / 0.722 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.6084, allocations: 43.84 kB / 0.7221 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.6085, allocations: 95.5 kB / 0.7222 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.609, allocations: 279.2 kB / 0.7224 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.609, allocations: 0 / 0.7224 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.609, allocations: 0 / 0.7224 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.609, allocations: 0 / 0.7224 GB, free: 11.32 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009917/0.61, allocations: 0.5261 MB / 0.723 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.61, allocations: 12.62 kB / 0.723 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008982/0.6109, allocations: 79.64 kB / 0.723 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.6112, allocations: 234.6 kB / 0.7233 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-05/0.6113, allocations: 45.97 kB / 0.7233 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.6114, allocations: 12 kB / 0.7233 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.612, allocations: 266.6 kB / 0.7236 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.612, allocations: 3.938 kB / 0.7236 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.612, allocations: 4 kB / 0.7236 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.612, allocations: 4 kB / 0.7236 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.6125, allocations: 167.8 kB / 0.7237 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.6142, allocations: 1.188 MB / 0.7249 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/0.615, allocations: 206.6 kB / 0.7251 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.6152, allocations: 68.83 kB / 0.7252 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.6152, allocations: 4 kB / 0.7252 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6153, allocations: 34.55 kB / 0.7252 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.6153, allocations: 4 kB / 0.7252 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002824/0.6181, allocations: 0.6219 MB / 0.7258 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.6182, allocations: 51.41 kB / 0.7259 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.6184, allocations: 223 kB / 0.7261 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.6185, allocations: 25.7 kB / 0.7261 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.6186, allocations: 139.9 kB / 0.7262 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.6186, allocations: 47.44 kB / 0.7263 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.6187, allocations: 45.59 kB / 0.7263 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6188, allocations: 330.8 kB / 0.7266 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.6191, allocations: 71.95 kB / 0.7267 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.6193, allocations: 131.7 kB / 0.7268 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.6198, allocations: 198.1 kB / 0.727 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6198, allocations: 4 kB / 0.727 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001549/0.6214, allocations: 370.9 kB / 0.7274 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6214, allocations: 8 kB / 0.7274 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6214, allocations: 0 / 0.7274 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.6226, allocations: 161.5 kB / 0.7275 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.6228, allocations: 43.91 kB / 0.7276 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.6269, allocations: 3.252 MB / 0.7308 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.6273, allocations: 39.7 kB / 0.7308 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.6274, allocations: 12.05 kB / 0.7308 GB, free: 2.074 MB / 0.5606 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.0001439/0.6275, allocations: 129.8 kB / 0.7309 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.6276, allocations: 15.81 kB / 0.731 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.629, allocations: 382 kB / 0.7313 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.629, allocations: 0 / 0.7313 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.629, allocations: 4 kB / 0.7313 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.629, allocations: 0 / 0.7313 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.6294, allocations: 289.2 kB / 0.7316 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6294, allocations: 0 / 0.7316 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.6295, allocations: 23.98 kB / 0.7316 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009015/0.6305, allocations: 141.6 kB / 0.7318 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.6305, allocations: 0 / 0.7318 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.6343, allocations: 3.301 MB / 0.735 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6343, allocations: 0 / 0.735 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.6357, allocations: 432.7 kB / 0.7354 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.6358, allocations: 112.8 kB / 0.7355 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.6359, allocations: 4 kB / 0.7355 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.6362, allocations: 15.98 kB / 0.7355 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.6363, allocations: 27.91 kB / 0.7355 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.6363, allocations: 4 kB / 0.7355 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002079/0.6365, allocations: 159.2 kB / 0.7357 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6365, allocations: 0 / 0.7357 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004741/0.637, allocations: 75.84 kB / 0.7358 GB, free: 12.59 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.000217/0.6372, allocations: 123.2 kB / 0.7359 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.6384, allocations: 455.2 kB / 0.7363 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6384, allocations: 4 kB / 0.7363 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.6391, allocations: 357.2 kB / 0.7367 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.6396, allocations: 57.22 kB / 0.7367 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.6406, allocations: 425.3 kB / 0.7371 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.6409, allocations: 0.7324 MB / 0.7378 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.6412, allocations: 41.91 kB / 0.7379 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.6412, allocations: 23.42 kB / 0.7379 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.6412, allocations: 0 / 0.7379 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.01262/0.6539, allocations: 5.286 MB / 0.7431 GB, free: 5.078 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)