Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001222/0.001222, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9574/0.9574, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.8769/0.8769, allocations: 154.6 MB / 414.5 MB, free: 0.625 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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.24e-05, allocations: 6.984 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002034/0.002056, allocations: 1.699 MB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1268/0.1289, allocations: 143.7 MB / 0.6623 GB, free: 492 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.129, allocations: 3.938 kB / 0.6623 GB, free: 488 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1291, allocations: 11.86 kB / 0.6623 GB, free: 476 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.1294, allocations: 59.5 kB / 0.6623 GB, free: 416 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1298, allocations: 191.2 kB / 0.6625 GB, free: 224 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1299, allocations: 171.3 kB / 0.6627 GB, free: 52 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1301, allocations: 21.3 kB / 0.6627 GB, free: 28 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1312, allocations: 286.9 kB / 0.663 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.1313, allocations: 47.88 kB / 0.663 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1313, allocations: 8 kB / 0.663 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.1316, allocations: 159.7 kB / 0.6632 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.1316, allocations: 39.83 kB / 0.6632 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1316, allocations: 31.92 kB / 0.6633 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.132, allocations: 211.3 kB / 0.6635 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.132, allocations: 0 / 0.6635 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.132, allocations: 0 / 0.6635 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.132, allocations: 0 / 0.6635 GB, free: 15.33 MB / 0.6355 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.0005751/0.1325, allocations: 495.8 kB / 0.6639 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1326, allocations: 8.031 kB / 0.6639 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.1331, allocations: 80.72 kB / 0.664 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1332, allocations: 162.6 kB / 0.6642 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1332, allocations: 8.125 kB / 0.6642 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1333, allocations: 8 kB / 0.6642 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1335, allocations: 176.7 kB / 0.6644 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1335, allocations: 4 kB / 0.6644 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1335, allocations: 0 / 0.6644 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1336, allocations: 0 / 0.6644 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1337, allocations: 71.83 kB / 0.6644 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.1345, allocations: 0.8974 MB / 0.6653 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1347, allocations: 79.03 kB / 0.6654 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.1347, allocations: 47.66 kB / 0.6654 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1348, allocations: 0 / 0.6654 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1348, allocations: 41.33 kB / 0.6655 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.1348, allocations: 7.938 kB / 0.6655 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0007812/0.1356, allocations: 249.1 kB / 0.6657 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.1356, allocations: 55.34 kB / 0.6658 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1357, allocations: 201.1 kB / 0.666 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1357, allocations: 25.7 kB / 0.666 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.136, allocations: 158.8 kB / 0.6661 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1361, allocations: 31.89 kB / 0.6662 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.1361, allocations: 43.34 kB / 0.6662 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1362, allocations: 0.4883 MB / 0.6667 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.1363, allocations: 31.97 kB / 0.6667 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.1363, allocations: 68.94 kB / 0.6668 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1365, allocations: 110.3 kB / 0.6669 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1365, allocations: 4 kB / 0.6669 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003791/0.1368, allocations: 189.4 kB / 0.6671 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1369, allocations: 4 kB / 0.6671 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1369, allocations: 80 / 0.6671 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.1373, allocations: 131.7 kB / 0.6672 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1374, allocations: 23.92 kB / 0.6672 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.139, allocations: 1.904 MB / 0.6691 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.1391, allocations: 19.89 kB / 0.6691 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1391, allocations: 12.02 kB / 0.6691 GB, free: 9.129 MB / 0.6355 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 8.515e-05/0.1392, allocations: 160.5 kB / 0.6693 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1392, allocations: 15.89 kB / 0.6693 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.1396, allocations: 221.1 kB / 0.6695 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1396, allocations: 0 / 0.6695 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1396, allocations: 0 / 0.6695 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1396, allocations: 7.984 kB / 0.6695 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1398, allocations: 168.4 kB / 0.6697 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1398, allocations: 4 kB / 0.6697 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.1399, allocations: 27.97 kB / 0.6697 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.1402, allocations: 111.7 kB / 0.6698 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1402, allocations: 0 / 0.6698 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.1415, allocations: 1.914 MB / 0.6717 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1415, allocations: 7.969 kB / 0.6717 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.1419, allocations: 339.4 kB / 0.672 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.142, allocations: 31.77 kB / 0.672 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.142, allocations: 3.984 kB / 0.672 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.1421, allocations: 16 kB / 0.672 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1421, allocations: 11.97 kB / 0.6721 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1421, allocations: 8 kB / 0.6721 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.1422, allocations: 143.2 kB / 0.6722 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1422, allocations: 0 / 0.6722 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000223/0.1424, allocations: 44 kB / 0.6722 GB, free: 5.707 MB / 0.6355 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.0001474/0.1426, allocations: 111.2 kB / 0.6723 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.1429, allocations: 281.3 kB / 0.6726 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1429, allocations: 4 kB / 0.6726 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.1431, allocations: 257.3 kB / 0.6729 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1433, allocations: 32.23 kB / 0.6729 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.1441, allocations: 293.5 kB / 0.6732 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.1441, allocations: 79.7 kB / 0.6732 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.1442, allocations: 24.61 kB / 0.6733 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1443, allocations: 20.5 kB / 0.6733 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.1443, allocations: 0 / 0.6733 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of Templates: time 0.005001/0.1493, allocations: 3.399 MB / 0.6766 GB, free: 1.195 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.320100360084325]