Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001356/0.001356, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001192/0.001192, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.94 kB / 0.5863 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1433, allocations: 80.93 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002895/0.1463, allocations: 1.874 MB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5355/0.6818, allocations: 155.4 MB / 0.8189 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.682, allocations: 0 / 0.8189 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.6823, allocations: 25.8 kB / 0.8189 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.6827, allocations: 71.28 kB / 0.819 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.6836, allocations: 260.3 kB / 0.8192 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.6839, allocations: 262.6 kB / 0.8195 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.6841, allocations: 69.23 kB / 0.8196 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.6856, allocations: 237.9 kB / 0.8198 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.6857, allocations: 92.81 kB / 0.8199 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.6858, allocations: 14.94 kB / 0.8199 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.6862, allocations: 189.5 kB / 0.8201 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.6863, allocations: 40.61 kB / 0.8201 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.6864, allocations: 92.92 kB / 0.8202 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.6868, allocations: 272.8 kB / 0.8205 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6868, allocations: 3.125 kB / 0.8205 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6868, allocations: 0 / 0.8205 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6869, allocations: 0 / 0.8205 GB, free: 7.062 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.001034/0.6879, allocations: 0.5108 MB / 0.821 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.688, allocations: 8.859 kB / 0.821 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009188/0.6889, allocations: 87.45 kB / 0.821 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6892, allocations: 223.3 kB / 0.8213 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.6893, allocations: 40.95 kB / 0.8213 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.6894, allocations: 21.41 kB / 0.8213 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.6899, allocations: 258 kB / 0.8216 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.69, allocations: 3.984 kB / 0.8216 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.69, allocations: 9.344 kB / 0.8216 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.69, allocations: 2.812 kB / 0.8216 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.6905, allocations: 169 kB / 0.8217 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.6924, allocations: 1.182 MB / 0.8229 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.6932, allocations: 208.2 kB / 0.8231 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.6934, allocations: 66.73 kB / 0.8232 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.6934, allocations: 9.703 kB / 0.8232 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6934, allocations: 37.47 kB / 0.8232 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 2.554e-06/0.6935, allocations: 0 / 0.8232 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002819/0.6963, allocations: 0.6157 MB / 0.8238 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6963, allocations: 58.12 kB / 0.8239 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.6966, allocations: 206.1 kB / 0.8241 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.6967, allocations: 25.7 kB / 0.8241 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6968, allocations: 147.6 kB / 0.8242 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.6968, allocations: 39.3 kB / 0.8243 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.6969, allocations: 42.78 kB / 0.8243 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6971, allocations: 335.9 kB / 0.8246 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.6973, allocations: 68.75 kB / 0.8247 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.6976, allocations: 125.5 kB / 0.8248 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.698, allocations: 203.6 kB / 0.825 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6981, allocations: 4 kB / 0.825 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001515/0.6996, allocations: 380.6 kB / 0.8254 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6996, allocations: 5.469 kB / 0.8254 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6996, allocations: 2.656 kB / 0.8254 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.7008, allocations: 165 kB / 0.8255 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.701, allocations: 39.38 kB / 0.8256 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.7053, allocations: 3.241 MB / 0.8287 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.7057, allocations: 42.12 kB / 0.8288 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.7058, allocations: 7.75 kB / 0.8288 GB, free: 15.74 MB / 0.6075 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.0001645/0.7059, allocations: 135 kB / 0.8289 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.706, allocations: 22.67 kB / 0.8289 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.7074, allocations: 367.8 kB / 0.8293 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.7074, allocations: 2.094 kB / 0.8293 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.7074, allocations: 0 / 0.8293 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.7074, allocations: 4 kB / 0.8293 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.7078, allocations: 276.6 kB / 0.8296 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7078, allocations: 0 / 0.8296 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.7079, allocations: 24.98 kB / 0.8296 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008743/0.7088, allocations: 147.8 kB / 0.8297 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.7089, allocations: 4 kB / 0.8297 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.7129, allocations: 3.301 MB / 0.8329 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.713, allocations: 0 / 0.8329 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.7144, allocations: 431.8 kB / 0.8334 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.7146, allocations: 104.4 kB / 0.8335 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.7146, allocations: 6 kB / 0.8335 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.7149, allocations: 15.67 kB / 0.8335 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/0.715, allocations: 19.78 kB / 0.8335 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.7151, allocations: 9.031 kB / 0.8335 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001871/0.7153, allocations: 145.2 kB / 0.8336 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7153, allocations: 0 / 0.8336 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004762/0.7157, allocations: 73.91 kB / 0.8337 GB, free: 11.23 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.0002306/0.716, allocations: 119.1 kB / 0.8338 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.7171, allocations: 444.9 kB / 0.8343 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7172, allocations: 4 kB / 0.8343 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.7179, allocations: 352.6 kB / 0.8346 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.7184, allocations: 65.72 kB / 0.8347 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.7195, allocations: 442 kB / 0.8351 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.7198, allocations: 0.7299 MB / 0.8358 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.7199, allocations: 27.61 kB / 0.8358 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/0.7199, allocations: 0 / 0.8358 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.007169/0.7271, allocations: 4.42 MB / 0.8401 GB, free: 7.098 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)