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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.149/1.149, allocations: 177.2 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8767/0.8767, allocations: 154.6 MB / 414.8 MB, free: 0.5273 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0.6562 kB / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.584e-05, allocations: 2.312 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003147/0.003183, allocations: 1.981 MB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.1604, allocations: 147 MB / 0.6143 GB, free: 1.805 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.1606, allocations: 7.938 kB / 0.6143 GB, free: 1.797 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1608, allocations: 23.67 kB / 0.6143 GB, free: 1.773 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1612, allocations: 79.41 kB / 0.6144 GB, free: 1.695 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.162, allocations: 263 kB / 0.6146 GB, free: 1.438 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1624, allocations: 268.3 kB / 0.6149 GB, free: 1.176 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1625, allocations: 63.11 kB / 0.615 GB, free: 1.117 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.1637, allocations: 353.8 kB / 0.6153 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1638, allocations: 71.78 kB / 0.6154 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1638, allocations: 16 kB / 0.6154 GB, free: 0.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.1641, allocations: 183.6 kB / 0.6156 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1642, allocations: 43.88 kB / 0.6156 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.1643, allocations: 67.83 kB / 0.6157 GB, free: 472 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.1646, allocations: 267.1 kB / 0.6159 GB, free: 204 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1647, allocations: 4 kB / 0.6159 GB, free: 200 kB / 0.573 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1647, allocations: 0 / 0.6159 GB, free: 200 kB / 0.573 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1647, allocations: 0 / 0.6159 GB, free: 200 kB / 0.573 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.0006111/0.1653, allocations: 443.9 kB / 0.6163 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1653, allocations: 12.03 kB / 0.6164 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.1659, allocations: 151.7 kB / 0.6165 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1661, allocations: 158.4 kB / 0.6167 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.1662, allocations: 75.66 kB / 0.6167 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1662, allocations: 20 kB / 0.6167 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.1664, allocations: 266.8 kB / 0.617 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.1664, allocations: 3.938 kB / 0.617 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1665, allocations: 8 kB / 0.617 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1665, allocations: 7.938 kB / 0.617 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.1666, allocations: 67.89 kB / 0.6171 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.1674, allocations: 0.9487 MB / 0.618 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1677, allocations: 133.3 kB / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.1677, allocations: 28.86 kB / 0.6182 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1677, allocations: 7.922 kB / 0.6182 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.1677, allocations: 34.56 kB / 0.6182 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1677, allocations: 0 / 0.6182 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.001014/0.1687, allocations: 345.8 kB / 0.6185 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1688, allocations: 67.33 kB / 0.6186 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1689, allocations: 179 kB / 0.6188 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1689, allocations: 25.7 kB / 0.6188 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.1689, allocations: 140.2 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.169, allocations: 43.64 kB / 0.619 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.169, allocations: 49.62 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1692, allocations: 326.8 kB / 0.6193 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.1692, allocations: 19.98 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.1693, allocations: 77.83 kB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1694, allocations: 124 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1694, allocations: 4 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005022/0.1699, allocations: 238 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1699, allocations: 8 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1699, allocations: 7.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.1706, allocations: 236.3 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.1707, allocations: 31.97 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.1726, allocations: 2.641 MB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1728, allocations: 31.91 kB / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1728, allocations: 4 kB / 0.6227 GB, free: 8.805 MB / 0.5886 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 7.421e-05/0.1728, allocations: 124.6 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.1729, allocations: 16.12 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.1734, allocations: 269.6 kB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1734, allocations: 0 / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.1734, allocations: 0 / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1734, allocations: 3.984 kB / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1735, allocations: 129.8 kB / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1735, allocations: 0 / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.1736, allocations: 23.92 kB / 0.6232 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005635/0.1741, allocations: 215.1 kB / 0.6234 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1741, allocations: 0 / 0.6234 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.176, allocations: 2.658 MB / 0.626 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.176, allocations: 4.031 kB / 0.626 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.1764, allocations: 318.5 kB / 0.6263 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1765, allocations: 27.77 kB / 0.6263 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1765, allocations: 4 kB / 0.6263 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1766, allocations: 15.98 kB / 0.6264 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.1767, allocations: 11.97 kB / 0.6264 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1767, allocations: 8.125 kB / 0.6264 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.1767, allocations: 50.38 kB / 0.6264 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1767, allocations: 4 kB / 0.6264 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002812/0.177, allocations: 71.94 kB / 0.6265 GB, free: 4.598 MB / 0.5886 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.0001321/0.1771, allocations: 100.3 kB / 0.6266 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1776, allocations: 368.4 kB / 0.6269 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1776, allocations: 0 / 0.6269 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1778, allocations: 326.3 kB / 0.6272 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.178, allocations: 58.36 kB / 0.6273 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.1788, allocations: 414.9 kB / 0.6277 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.1789, allocations: 84.27 kB / 0.6278 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.616e-05/0.179, allocations: 33.55 kB / 0.6278 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1791, allocations: 99.31 kB / 0.6279 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of SimCode: time 5.52e-07/0.1791, allocations: 0 / 0.6279 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of Templates: time 0.007094/0.1862, allocations: 5.21 MB / 0.633 GB, free: 13.92 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.196827536914498]