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.001123/0.001123, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001267/0.001267, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7817/0.7817, allocations: 122.9 MB / 414.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 62.59 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1699, allocations: 77.94 MB / 0.6446 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003348/0.1733, allocations: 1.894 MB / 0.6464 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6089/0.7821, allocations: 155.4 MB / 0.7982 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.7824, allocations: 6.438 kB / 0.7982 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.7826, allocations: 23.97 kB / 0.7982 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.7829, allocations: 77.33 kB / 0.7983 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.7837, allocations: 258.4 kB / 0.7986 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.784, allocations: 271.7 kB / 0.7988 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.7842, allocations: 63.38 kB / 0.7989 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.7854, allocations: 247 kB / 0.7991 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.7855, allocations: 95.8 kB / 0.7992 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.7856, allocations: 12.97 kB / 0.7992 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.7859, allocations: 183.4 kB / 0.7994 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.786, allocations: 41.55 kB / 0.7994 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.7861, allocations: 96.42 kB / 0.7995 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.7865, allocations: 290.4 kB / 0.7998 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7866, allocations: 0 / 0.7998 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7866, allocations: 0 / 0.7998 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7866, allocations: 6.531 kB / 0.7998 GB, free: 12.36 MB / 0.5919 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.0009518/0.7875, allocations: 0.5305 MB / 0.8003 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.7876, allocations: 8.344 kB / 0.8003 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.7884, allocations: 82.52 kB / 0.8004 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.7887, allocations: 236.2 kB / 0.8006 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.7888, allocations: 44.22 kB / 0.8007 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.7888, allocations: 13.41 kB / 0.8007 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.7893, allocations: 265 kB / 0.8009 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7894, allocations: 2.75 kB / 0.801 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.7894, allocations: 6.656 kB / 0.801 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7894, allocations: 1.844 kB / 0.801 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.7898, allocations: 169.6 kB / 0.8011 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.7914, allocations: 1.192 MB / 0.8023 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.7922, allocations: 208.7 kB / 0.8025 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.7923, allocations: 70.8 kB / 0.8026 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.7924, allocations: 2.469 kB / 0.8026 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.7924, allocations: 43.08 kB / 0.8026 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.7924, allocations: 0 / 0.8026 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002523/0.7949, allocations: 0.6302 MB / 0.8032 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.795, allocations: 53.31 kB / 0.8033 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.7953, allocations: 217.1 kB / 0.8035 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.7953, allocations: 30.45 kB / 0.8035 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.7954, allocations: 149.2 kB / 0.8036 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.7954, allocations: 33.8 kB / 0.8037 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/0.7955, allocations: 51.92 kB / 0.8037 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7957, allocations: 330 kB / 0.804 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.7959, allocations: 73.09 kB / 0.8041 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.7962, allocations: 136.4 kB / 0.8042 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.7966, allocations: 195.3 kB / 0.8044 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7966, allocations: 3.938 kB / 0.8044 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001348/0.7979, allocations: 375.6 kB / 0.8048 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.798, allocations: 6.875 kB / 0.8048 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.798, allocations: 3.156 kB / 0.8048 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.799, allocations: 160.8 kB / 0.8049 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.7992, allocations: 48.38 kB / 0.805 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.8034, allocations: 3.248 MB / 0.8082 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.8038, allocations: 28.09 kB / 0.8082 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.8038, allocations: 18.25 kB / 0.8082 GB, free: 6.531 MB / 0.5919 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.000148/0.804, allocations: 131.4 kB / 0.8083 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.804, allocations: 21.7 kB / 0.8084 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.8053, allocations: 369.6 kB / 0.8087 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8053, allocations: 2.75 kB / 0.8087 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8053, allocations: 0 / 0.8087 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8053, allocations: 3.938 kB / 0.8087 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.8056, allocations: 281.2 kB / 0.809 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8056, allocations: 2.781 kB / 0.809 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.8058, allocations: 31.16 kB / 0.809 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007757/0.8065, allocations: 138.5 kB / 0.8091 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.8066, allocations: 0 / 0.8091 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/0.8105, allocations: 3.3 MB / 0.8124 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.8105, allocations: 8.125 kB / 0.8124 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.8117, allocations: 431.5 kB / 0.8128 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.8119, allocations: 115.4 kB / 0.8129 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.8119, allocations: 10.22 kB / 0.8129 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.8122, allocations: 19.53 kB / 0.8129 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.8123, allocations: 17.2 kB / 0.8129 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.8123, allocations: 5.375 kB / 0.8129 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002081/0.8126, allocations: 159.2 kB / 0.8131 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8126, allocations: 2.656 kB / 0.8131 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005098/0.8131, allocations: 73.38 kB / 0.8132 GB, free: 2.906 MB / 0.5919 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.0003023/0.8134, allocations: 123.5 kB / 0.8133 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.8146, allocations: 454.9 kB / 0.8137 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8147, allocations: 0 / 0.8137 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.8154, allocations: 354 kB / 0.8141 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.816, allocations: 58.88 kB / 0.8141 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.817, allocations: 425.4 kB / 0.8145 GB, free: 2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.8173, allocations: 0.7353 MB / 0.8152 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000163/0.8175, allocations: 37.56 kB / 0.8153 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.8175, allocations: 26.05 kB / 0.8153 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.8175, allocations: 0 / 0.8153 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of Templates: time 0.009912/0.8275, allocations: 5.359 MB / 0.8205 GB, free: 14.59 MB / 0.6075 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)