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.001456/0.001456, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001344/0.001344, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8244/0.8244, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.89 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3764, allocations: 80.9 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003336/0.3798, allocations: 1.88 MB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1583/0.5382, allocations: 155.4 MB / 0.7394 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.5384, allocations: 7.875 kB / 0.7394 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.5386, allocations: 27.73 kB / 0.7394 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.5389, allocations: 75.47 kB / 0.7395 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.5396, allocations: 259.1 kB / 0.7397 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.5399, allocations: 247.2 kB / 0.74 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.54, allocations: 76.05 kB / 0.74 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5412, allocations: 235.4 kB / 0.7403 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.5414, allocations: 91.66 kB / 0.7403 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5414, allocations: 16 kB / 0.7404 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.5418, allocations: 187.7 kB / 0.7405 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.5418, allocations: 39.89 kB / 0.7406 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.5419, allocations: 83.59 kB / 0.7407 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.5424, allocations: 286.9 kB / 0.7409 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5424, allocations: 0 / 0.7409 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5424, allocations: 0 / 0.7409 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.5424, allocations: 0 / 0.7409 GB, free: 11.16 MB / 0.5762 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.0009438/0.5433, allocations: 0.5029 MB / 0.7414 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5434, allocations: 13.11 kB / 0.7414 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.5443, allocations: 87.62 kB / 0.7415 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.5445, allocations: 226.7 kB / 0.7417 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/0.5446, allocations: 37.97 kB / 0.7418 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.5447, allocations: 20 kB / 0.7418 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.5452, allocations: 262.6 kB / 0.742 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5452, allocations: 0 / 0.742 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.5453, allocations: 4 kB / 0.742 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5453, allocations: 8 kB / 0.742 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.5457, allocations: 171.7 kB / 0.7422 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5474, allocations: 1.18 MB / 0.7434 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.5482, allocations: 210.6 kB / 0.7436 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.5483, allocations: 68.81 kB / 0.7436 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.5484, allocations: 0 / 0.7436 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5484, allocations: 42.56 kB / 0.7437 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.5484, allocations: 0 / 0.7437 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002659/0.5511, allocations: 0.6297 MB / 0.7443 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5511, allocations: 55.41 kB / 0.7443 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.5514, allocations: 194.9 kB / 0.7445 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5514, allocations: 29.7 kB / 0.7446 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.5515, allocations: 143.5 kB / 0.7447 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.5516, allocations: 39.36 kB / 0.7447 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.5517, allocations: 45.69 kB / 0.7448 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5518, allocations: 334.8 kB / 0.7451 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.552, allocations: 67.94 kB / 0.7452 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.5523, allocations: 137.3 kB / 0.7453 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.5527, allocations: 190.8 kB / 0.7455 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5527, allocations: 0 / 0.7455 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001485/0.5542, allocations: 382.6 kB / 0.7458 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5543, allocations: 4 kB / 0.7458 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.5543, allocations: 0 / 0.7458 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.5554, allocations: 165.8 kB / 0.746 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.5556, allocations: 39.91 kB / 0.746 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.5596, allocations: 3.248 MB / 0.7492 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.56, allocations: 39.67 kB / 0.7492 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.5601, allocations: 11.98 kB / 0.7493 GB, free: 1.957 MB / 0.5762 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.0001405/0.5602, allocations: 133.8 kB / 0.7494 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.5603, allocations: 19.81 kB / 0.7494 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.5616, allocations: 368.5 kB / 0.7498 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.5616, allocations: 3.984 kB / 0.7498 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5616, allocations: 4 kB / 0.7498 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5616, allocations: 3.984 kB / 0.7498 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.562, allocations: 265.4 kB / 0.75 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.562, allocations: 4 kB / 0.75 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.5622, allocations: 27.86 kB / 0.75 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/0.563, allocations: 137.6 kB / 0.7502 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.5631, allocations: 8 kB / 0.7502 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2553/0.8184, allocations: 3.288 MB / 0.7534 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8184, allocations: 0 / 0.7534 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.8197, allocations: 433.7 kB / 0.7538 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.8198, allocations: 107.9 kB / 0.7539 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.8198, allocations: 5.953 kB / 0.7539 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.8201, allocations: 13.17 kB / 0.7539 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.8202, allocations: 18.16 kB / 0.754 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.8202, allocations: 9.5 kB / 0.754 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001625/0.8204, allocations: 148.8 kB / 0.7541 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8204, allocations: 1.156 kB / 0.7541 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004215/0.8208, allocations: 71.11 kB / 0.7542 GB, free: 163.6 MB / 0.5762 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.0001621/0.821, allocations: 121.6 kB / 0.7543 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000993/0.822, allocations: 444.4 kB / 0.7547 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.822, allocations: 0.6875 kB / 0.7547 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.8227, allocations: 362.3 kB / 0.7551 GB, free: 163 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.8231, allocations: 54.48 kB / 0.7551 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009086/0.824, allocations: 402.5 kB / 0.7555 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.8242, allocations: 0.731 MB / 0.7562 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.8244, allocations: 39.88 kB / 0.7562 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.8245, allocations: 24.77 kB / 0.7563 GB, free: 162 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.8245, allocations: 0 / 0.7563 GB, free: 162 MB / 0.5762 GB Notification: Performance of Templates: time 0.01102/0.8355, allocations: 5.314 MB / 0.7615 GB, free: 160.3 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)