Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001614/0.001614, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001597/0.001597, allocations: 185.5 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8709/0.8709, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 66.94 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1511, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002893/0.154, allocations: 1.651 MB / 0.667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4921/0.6461, allocations: 150.1 MB / 0.8136 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.6462, allocations: 4.812 kB / 0.8136 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.6464, allocations: 26.05 kB / 0.8136 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.6466, allocations: 43.97 kB / 0.8136 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.6471, allocations: 182.5 kB / 0.8138 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.6473, allocations: 161.5 kB / 0.814 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.6474, allocations: 24.47 kB / 0.814 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.6487, allocations: 183.8 kB / 0.8141 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.6488, allocations: 59.61 kB / 0.8142 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.6488, allocations: 9.375 kB / 0.8142 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.6491, allocations: 165 kB / 0.8144 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.6491, allocations: 24.92 kB / 0.8144 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.6492, allocations: 48.41 kB / 0.8144 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.6495, allocations: 201.9 kB / 0.8146 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6495, allocations: 4 kB / 0.8146 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6496, allocations: 2.5 kB / 0.8146 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6496, allocations: 0 / 0.8146 GB, free: 10.71 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00087/0.6504, allocations: 465.2 kB / 0.8151 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.6505, allocations: 9.328 kB / 0.8151 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.6511, allocations: 57.91 kB / 0.8151 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.6513, allocations: 207.9 kB / 0.8153 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6513, allocations: 6.312 kB / 0.8154 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.6513, allocations: 9.5 kB / 0.8154 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.6518, allocations: 176.1 kB / 0.8155 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6518, allocations: 0 / 0.8155 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.6518, allocations: 5.062 kB / 0.8155 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.6518, allocations: 6.75 kB / 0.8155 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.6523, allocations: 149.2 kB / 0.8157 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.6535, allocations: 0.8298 MB / 0.8165 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.6539, allocations: 122.4 kB / 0.8166 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.6542, allocations: 74.14 kB / 0.8167 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.6542, allocations: 9.203 kB / 0.8167 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.6543, allocations: 35.97 kB / 0.8167 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.6543, allocations: 1.094 kB / 0.8167 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.00189/0.6562, allocations: 451.5 kB / 0.8172 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6562, allocations: 56.5 kB / 0.8172 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.6563, allocations: 148.1 kB / 0.8174 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.6564, allocations: 30.3 kB / 0.8174 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.6564, allocations: 110.9 kB / 0.8175 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.6565, allocations: 26.62 kB / 0.8175 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.6566, allocations: 33.62 kB / 0.8175 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6567, allocations: 321.2 kB / 0.8179 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.657, allocations: 72.94 kB / 0.8179 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.6572, allocations: 101 kB / 0.818 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.6578, allocations: 188.6 kB / 0.8182 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6578, allocations: 0 / 0.8182 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001032/0.6588, allocations: 278.9 kB / 0.8185 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6588, allocations: 8.422 kB / 0.8185 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6588, allocations: 11.22 kB / 0.8185 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.6594, allocations: 82.86 kB / 0.8186 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.6596, allocations: 30.62 kB / 0.8186 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.6619, allocations: 1.664 MB / 0.8202 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.6621, allocations: 25.12 kB / 0.8202 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.6621, allocations: 9.547 kB / 0.8202 GB, free: 6.355 MB / 0.5919 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.0001232/0.6622, allocations: 125.5 kB / 0.8204 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.6623, allocations: 9.078 kB / 0.8204 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.6634, allocations: 305.9 kB / 0.8207 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6634, allocations: 3.938 kB / 0.8207 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.6634, allocations: 0 / 0.8207 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6634, allocations: 0 / 0.8207 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.6637, allocations: 244.1 kB / 0.8209 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6637, allocations: 0 / 0.8209 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.6639, allocations: 32.19 kB / 0.8209 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/0.6643, allocations: 76.64 kB / 0.821 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.6643, allocations: 2.656 kB / 0.821 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.6664, allocations: 1.693 MB / 0.8227 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6664, allocations: 0 / 0.8227 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.6674, allocations: 378.8 kB / 0.823 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.6675, allocations: 83.69 kB / 0.8231 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.6675, allocations: 10.22 kB / 0.8231 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.6677, allocations: 15.88 kB / 0.8231 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.6678, allocations: 16.77 kB / 0.8231 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.6678, allocations: 10.11 kB / 0.8232 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.6679, allocations: 103.9 kB / 0.8233 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6679, allocations: 0 / 0.8233 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003411/0.6682, allocations: 48.08 kB / 0.8233 GB, free: 3.902 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 (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.0001731/0.6684, allocations: 118.6 kB / 0.8234 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009079/0.6693, allocations: 298.2 kB / 0.8237 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6693, allocations: 2.594 kB / 0.8237 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.6698, allocations: 229.8 kB / 0.8239 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6701, allocations: 25.27 kB / 0.8239 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.6709, allocations: 339.2 kB / 0.8243 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.6713, allocations: 0.7048 MB / 0.825 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.6714, allocations: 19.55 kB / 0.825 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.6714, allocations: 4 kB / 0.825 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of Templates: time 0.004856/0.6762, allocations: 2.746 MB / 0.8277 GB, free: 1.102 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)