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.00129/0.00129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001569/0.001569, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001648, allocations: 63.66 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1722, allocations: 80.93 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003069/0.1753, allocations: 1.702 MB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5083/0.6836, allocations: 147.5 MB / 0.7296 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.6838, allocations: 1.156 kB / 0.7296 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.6841, allocations: 16.78 kB / 0.7296 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.6844, allocations: 48.25 kB / 0.7297 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.685, allocations: 167.1 kB / 0.7298 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.6852, allocations: 148.3 kB / 0.73 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.6854, allocations: 29.55 kB / 0.73 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.6873, allocations: 192.1 kB / 0.7302 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.6874, allocations: 59.14 kB / 0.7302 GB, free: 484 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.6874, allocations: 8.375 kB / 0.7302 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.6878, allocations: 167.1 kB / 0.7304 GB, free: 444 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.6878, allocations: 30.02 kB / 0.7304 GB, free: 424 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.6879, allocations: 56.45 kB / 0.7305 GB, free: 388 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.6883, allocations: 195.5 kB / 0.7307 GB, free: 320 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6883, allocations: 0 / 0.7307 GB, free: 320 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6883, allocations: 0 / 0.7307 GB, free: 320 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.6883, allocations: 0 / 0.7307 GB, free: 320 kB / 0.545 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.0009743/0.6893, allocations: 456.1 kB / 0.7311 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6894, allocations: 10.12 kB / 0.7311 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.69, allocations: 51.75 kB / 0.7312 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.6903, allocations: 209.7 kB / 0.7314 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6903, allocations: 11.44 kB / 0.7314 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.6903, allocations: 4.719 kB / 0.7314 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.6908, allocations: 179.6 kB / 0.7316 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6908, allocations: 5.188 kB / 0.7316 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.6909, allocations: 4.844 kB / 0.7316 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.6909, allocations: 2.219 kB / 0.7316 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.6914, allocations: 148.8 kB / 0.7317 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.6926, allocations: 0.8134 MB / 0.7325 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.6931, allocations: 139.3 kB / 0.7326 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.6934, allocations: 85.17 kB / 0.7327 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6934, allocations: 160 / 0.7327 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.6934, allocations: 38.38 kB / 0.7328 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.6934, allocations: 1.219 kB / 0.7328 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002438/0.6959, allocations: 456.7 kB / 0.7332 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6959, allocations: 52.59 kB / 0.7332 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.6961, allocations: 148.7 kB / 0.7334 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.6961, allocations: 25.7 kB / 0.7334 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.6962, allocations: 108.3 kB / 0.7335 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.6963, allocations: 29.89 kB / 0.7335 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.6963, allocations: 32.23 kB / 0.7336 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6965, allocations: 320.1 kB / 0.7339 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.6968, allocations: 72.95 kB / 0.7339 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.6971, allocations: 100.3 kB / 0.734 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.6976, allocations: 189.5 kB / 0.7342 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6976, allocations: 1.828 kB / 0.7342 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001106/0.6987, allocations: 277.3 kB / 0.7345 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6988, allocations: 5.375 kB / 0.7345 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6988, allocations: 9 kB / 0.7345 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.6994, allocations: 86.45 kB / 0.7346 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.6997, allocations: 33.69 kB / 0.7346 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.702, allocations: 1.661 MB / 0.7362 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.7023, allocations: 21.91 kB / 0.7363 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.7023, allocations: 11.06 kB / 0.7363 GB, free: 11.95 MB / 0.5606 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.0001325/0.7024, allocations: 123.4 kB / 0.7364 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.7025, allocations: 8.656 kB / 0.7364 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.7037, allocations: 314 kB / 0.7367 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.7037, allocations: 6.25 kB / 0.7367 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.7037, allocations: 0 / 0.7367 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7037, allocations: 5.266 kB / 0.7367 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.704, allocations: 235.8 kB / 0.7369 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.704, allocations: 0 / 0.7369 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.7042, allocations: 30.08 kB / 0.737 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.7047, allocations: 77.3 kB / 0.737 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.7047, allocations: 2.094 kB / 0.737 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.7068, allocations: 1.688 MB / 0.7387 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7068, allocations: 0 / 0.7387 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.7079, allocations: 381.1 kB / 0.739 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.708, allocations: 93.94 kB / 0.7391 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.708, allocations: 0 / 0.7391 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.7082, allocations: 21.08 kB / 0.7392 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.7083, allocations: 18.69 kB / 0.7392 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.7083, allocations: 2.531 kB / 0.7392 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.7084, allocations: 112.1 kB / 0.7393 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7084, allocations: 2.219 kB / 0.7393 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003524/0.7087, allocations: 38.75 kB / 0.7393 GB, free: 9.5 MB / 0.5606 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.0002166/0.709, allocations: 116.3 kB / 0.7394 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000913/0.7099, allocations: 311.8 kB / 0.7397 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7099, allocations: 3.938 kB / 0.7397 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.7104, allocations: 232.4 kB / 0.74 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.7108, allocations: 26.89 kB / 0.74 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008409/0.7116, allocations: 337.1 kB / 0.7403 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.7119, allocations: 0.7059 MB / 0.741 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.7121, allocations: 26.41 kB / 0.741 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.7121, allocations: 27.17 kB / 0.741 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.7121, allocations: 1.656 kB / 0.741 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of Templates: time 0.006943/0.7191, allocations: 3.078 MB / 0.744 GB, free: 7.105 MB / 0.5606 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)