Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001107/0.001107, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001118/0.001118, allocations: 187 kB / 17.34 MB, free: 5.754 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.19 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.144, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003331/0.1474, allocations: 1.874 MB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5445/0.6919, allocations: 155.4 MB / 0.8139 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.6921, allocations: 2.25 kB / 0.8139 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.6924, allocations: 27.25 kB / 0.814 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.6927, allocations: 68.91 kB / 0.814 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.6934, allocations: 253.1 kB / 0.8143 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.6937, allocations: 263.1 kB / 0.8145 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.6939, allocations: 69.45 kB / 0.8146 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.6952, allocations: 246.6 kB / 0.8148 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.6954, allocations: 96.09 kB / 0.8149 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.6954, allocations: 14.69 kB / 0.8149 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.6958, allocations: 181.4 kB / 0.8151 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.6959, allocations: 40.34 kB / 0.8151 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.696, allocations: 92.55 kB / 0.8152 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.6964, allocations: 280.1 kB / 0.8155 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6964, allocations: 0 / 0.8155 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6964, allocations: 0 / 0.8155 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6964, allocations: 1.688 kB / 0.8155 GB, free: 10.85 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.0009774/0.6974, allocations: 0.5065 MB / 0.816 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6975, allocations: 9.375 kB / 0.816 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008876/0.6984, allocations: 88.62 kB / 0.8161 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.6986, allocations: 225.8 kB / 0.8163 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.039e-05/0.6987, allocations: 38.25 kB / 0.8163 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.6988, allocations: 25.5 kB / 0.8164 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.6993, allocations: 259.4 kB / 0.8166 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6993, allocations: 9.062 kB / 0.8166 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.6994, allocations: 9.125 kB / 0.8166 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.6994, allocations: 4.375 kB / 0.8166 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.6998, allocations: 165.9 kB / 0.8168 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.7015, allocations: 1.168 MB / 0.8179 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.7023, allocations: 215.2 kB / 0.8181 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.7024, allocations: 72.5 kB / 0.8182 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7025, allocations: 2.531 kB / 0.8182 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7025, allocations: 30.56 kB / 0.8182 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.7025, allocations: 0 / 0.8182 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.00271/0.7052, allocations: 0.6246 MB / 0.8188 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7053, allocations: 54 kB / 0.8189 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.7055, allocations: 200.4 kB / 0.8191 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.7056, allocations: 31.45 kB / 0.8191 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.7057, allocations: 146.5 kB / 0.8192 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.7057, allocations: 38.17 kB / 0.8193 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.7058, allocations: 51.84 kB / 0.8193 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.706, allocations: 330.9 kB / 0.8196 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.7062, allocations: 73.12 kB / 0.8197 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.7064, allocations: 130.7 kB / 0.8198 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.7068, allocations: 206.2 kB / 0.82 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7069, allocations: 0 / 0.82 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001447/0.7083, allocations: 372.6 kB / 0.8204 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7083, allocations: 4.688 kB / 0.8204 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7083, allocations: 2.594 kB / 0.8204 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.7095, allocations: 166.1 kB / 0.8206 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.7097, allocations: 36.97 kB / 0.8206 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.7138, allocations: 3.255 MB / 0.8238 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.7142, allocations: 34.61 kB / 0.8238 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.7142, allocations: 8.375 kB / 0.8238 GB, free: 4.254 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.0001389/0.7143, allocations: 134.2 kB / 0.8239 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.7144, allocations: 15.75 kB / 0.824 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.7157, allocations: 372.2 kB / 0.8243 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7157, allocations: 2.969 kB / 0.8243 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.7157, allocations: 0 / 0.8243 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.7157, allocations: 3.984 kB / 0.8243 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.7161, allocations: 267.9 kB / 0.8246 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7161, allocations: 0 / 0.8246 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.7162, allocations: 24.48 kB / 0.8246 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008225/0.717, allocations: 147.9 kB / 0.8247 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.7171, allocations: 8.141 kB / 0.8247 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/0.7208, allocations: 3.304 MB / 0.828 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7208, allocations: 0 / 0.828 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.722, allocations: 430.9 kB / 0.8284 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.7222, allocations: 108.9 kB / 0.8285 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.7222, allocations: 2.25 kB / 0.8285 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.7225, allocations: 23.17 kB / 0.8285 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.7226, allocations: 23.72 kB / 0.8285 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.7226, allocations: 5.25 kB / 0.8285 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001567/0.7228, allocations: 151.3 kB / 0.8287 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7228, allocations: 2.531 kB / 0.8287 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004109/0.7232, allocations: 73.84 kB / 0.8288 GB, free: 15.73 MB / 0.6075 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.0001789/0.7234, allocations: 110 kB / 0.8289 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.7244, allocations: 444.5 kB / 0.8293 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7244, allocations: 2.625 kB / 0.8293 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.7251, allocations: 358.1 kB / 0.8296 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.7255, allocations: 50.22 kB / 0.8297 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/0.7264, allocations: 449.4 kB / 0.8301 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.7267, allocations: 0.7278 MB / 0.8308 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.7268, allocations: 28.39 kB / 0.8308 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.7268, allocations: 0 / 0.8308 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of Templates: time 0.006456/0.7333, allocations: 4.451 MB / 0.8352 GB, free: 11.61 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)