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.005969/0.005969, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001055/0.001055, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9997/0.9997, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5048, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002863/0.5077, allocations: 1.89 MB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.6902, allocations: 155.4 MB / 0.8182 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.6905, allocations: 4 kB / 0.8182 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.6908, allocations: 23.73 kB / 0.8183 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.6912, allocations: 75.47 kB / 0.8183 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.6921, allocations: 255.1 kB / 0.8186 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.6924, allocations: 271.1 kB / 0.8188 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.6926, allocations: 58.09 kB / 0.8189 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.6941, allocations: 260.2 kB / 0.8191 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.6942, allocations: 87.61 kB / 0.8192 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.6942, allocations: 16 kB / 0.8192 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.6946, allocations: 179.8 kB / 0.8194 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.6947, allocations: 51.81 kB / 0.8195 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.6948, allocations: 83.59 kB / 0.8195 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.6952, allocations: 269.1 kB / 0.8198 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6952, allocations: 0 / 0.8198 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6952, allocations: 4 kB / 0.8198 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6953, allocations: 0 / 0.8198 GB, free: 2.223 MB / 0.6387 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.0009713/0.6962, allocations: 0.5146 MB / 0.8203 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6963, allocations: 11.97 kB / 0.8203 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.6972, allocations: 79.72 kB / 0.8204 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.6975, allocations: 226.7 kB / 0.8206 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.6976, allocations: 45.95 kB / 0.8206 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.6976, allocations: 20 kB / 0.8207 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.6982, allocations: 258.6 kB / 0.8209 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6982, allocations: 0 / 0.8209 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.6982, allocations: 8 kB / 0.8209 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6982, allocations: 4 kB / 0.8209 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.6987, allocations: 163.8 kB / 0.8211 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.7003, allocations: 1.184 MB / 0.8222 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.7011, allocations: 206.6 kB / 0.8224 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.7013, allocations: 76.75 kB / 0.8225 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.7013, allocations: 0 / 0.8225 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.7013, allocations: 42.5 kB / 0.8225 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.7013, allocations: 0 / 0.8225 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002681/0.704, allocations: 0.6142 MB / 0.8231 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7041, allocations: 59.34 kB / 0.8232 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.7043, allocations: 203.1 kB / 0.8234 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.7043, allocations: 25.7 kB / 0.8234 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.7044, allocations: 147.5 kB / 0.8236 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.7045, allocations: 43.36 kB / 0.8236 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.7046, allocations: 45.62 kB / 0.8236 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7047, allocations: 330.8 kB / 0.824 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.7049, allocations: 67.94 kB / 0.824 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.7052, allocations: 140.8 kB / 0.8242 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.7057, allocations: 198.7 kB / 0.8244 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7057, allocations: 0 / 0.8244 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001473/0.7072, allocations: 373.1 kB / 0.8247 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7072, allocations: 4 kB / 0.8247 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7072, allocations: 4 kB / 0.8247 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.7083, allocations: 165.7 kB / 0.8249 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.7085, allocations: 39.97 kB / 0.8249 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.7126, allocations: 3.234 MB / 0.8281 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.713, allocations: 43.69 kB / 0.8281 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.713, allocations: 8.062 kB / 0.8281 GB, free: 9.023 MB / 0.6544 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.0001687/0.7132, allocations: 141.2 kB / 0.8283 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.7133, allocations: 19.81 kB / 0.8283 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.7146, allocations: 366.3 kB / 0.8286 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7147, allocations: 8 kB / 0.8286 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.7147, allocations: 0 / 0.8286 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7147, allocations: 0 / 0.8286 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.715, allocations: 277.4 kB / 0.8289 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.715, allocations: 0 / 0.8289 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.7152, allocations: 27.92 kB / 0.8289 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008456/0.716, allocations: 137.6 kB / 0.8291 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.716, allocations: 7.938 kB / 0.8291 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.7198, allocations: 3.289 MB / 0.8323 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7199, allocations: 4.062 kB / 0.8323 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7212, allocations: 440.6 kB / 0.8327 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.7213, allocations: 104.9 kB / 0.8328 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.7213, allocations: 11.88 kB / 0.8328 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.7216, allocations: 15.98 kB / 0.8328 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.7217, allocations: 19.97 kB / 0.8328 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7218, allocations: 4 kB / 0.8328 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001728/0.7219, allocations: 144.2 kB / 0.833 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7219, allocations: 0 / 0.833 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000448/0.7224, allocations: 75.94 kB / 0.8331 GB, free: 3.566 MB / 0.6544 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.0002125/0.7226, allocations: 116.2 kB / 0.8332 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.7237, allocations: 451.3 kB / 0.8336 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7237, allocations: 0 / 0.8336 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.7244, allocations: 353.2 kB / 0.8339 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.7249, allocations: 59.88 kB / 0.834 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.7259, allocations: 415.3 kB / 0.8344 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7262, allocations: 0.7323 MB / 0.8351 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.7264, allocations: 41.91 kB / 0.8351 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.7265, allocations: 19.44 kB / 0.8352 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.7265, allocations: 4 kB / 0.8352 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of Templates: time 0.01005/0.7365, allocations: 5.345 MB / 0.8404 GB, free: 12.02 MB / 0.67 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)