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.001206/0.001206, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001203/0.001203, allocations: 177 kB / 23.49 MB, free: 1.055 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.063/1.063, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.797/0.797, allocations: 154.6 MB / 414.8 MB, free: 0.7109 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 2.034e-06/2.034e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.326e-05, allocations: 4.938 kB / 0.5203 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003524/0.003557, allocations: 1.702 MB / 0.522 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1323/0.1358, allocations: 145.3 MB / 0.6639 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.136, allocations: 7.938 kB / 0.6639 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.1361, allocations: 27.73 kB / 0.6639 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1364, allocations: 51.62 kB / 0.664 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.1369, allocations: 187.2 kB / 0.6641 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1371, allocations: 171.4 kB / 0.6643 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1373, allocations: 21.3 kB / 0.6643 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.1384, allocations: 290.2 kB / 0.6646 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.1384, allocations: 51.86 kB / 0.6647 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1385, allocations: 11.94 kB / 0.6647 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1387, allocations: 167.7 kB / 0.6648 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1388, allocations: 19.92 kB / 0.6648 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1388, allocations: 35.89 kB / 0.6649 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1392, allocations: 215.3 kB / 0.6651 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1392, allocations: 0 / 0.6651 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1392, allocations: 0 / 0.6651 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1392, allocations: 0 / 0.6651 GB, free: 14.06 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.0006687/0.1398, allocations: 487.8 kB / 0.6655 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1399, allocations: 12.03 kB / 0.6656 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.1404, allocations: 88.7 kB / 0.6656 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1406, allocations: 147.8 kB / 0.6658 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1406, allocations: 11.98 kB / 0.6658 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1407, allocations: 8 kB / 0.6658 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.1409, allocations: 182.5 kB / 0.666 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.141, allocations: 3.938 kB / 0.666 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.141, allocations: 4 kB / 0.666 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.141, allocations: 4 kB / 0.666 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1411, allocations: 55.89 kB / 0.666 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.1419, allocations: 0.8936 MB / 0.6669 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1421, allocations: 87.02 kB / 0.667 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.1422, allocations: 39.67 kB / 0.667 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1422, allocations: 7.938 kB / 0.667 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1422, allocations: 37.39 kB / 0.6671 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.1422, allocations: 0 / 0.6671 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0008354/0.1431, allocations: 253.2 kB / 0.6673 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1431, allocations: 59.39 kB / 0.6674 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1432, allocations: 200.8 kB / 0.6676 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1432, allocations: 29.7 kB / 0.6676 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1433, allocations: 158.7 kB / 0.6677 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1433, allocations: 31.73 kB / 0.6678 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.1434, allocations: 35.36 kB / 0.6678 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1435, allocations: 0.4961 MB / 0.6683 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.1436, allocations: 31.86 kB / 0.6683 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.1437, allocations: 73.91 kB / 0.6684 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1438, allocations: 110.4 kB / 0.6685 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1438, allocations: 0 / 0.6685 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004222/0.1442, allocations: 193.1 kB / 0.6687 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1442, allocations: 4 kB / 0.6687 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1443, allocations: 4 kB / 0.6687 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.1448, allocations: 123.6 kB / 0.6688 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1449, allocations: 31.91 kB / 0.6688 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1464, allocations: 1.898 MB / 0.6707 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.1465, allocations: 19.94 kB / 0.6707 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1465, allocations: 4 kB / 0.6707 GB, free: 7.863 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 9.758e-05/0.1466, allocations: 180.4 kB / 0.6709 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1467, allocations: 7.953 kB / 0.6709 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.1471, allocations: 214.3 kB / 0.6711 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1471, allocations: 0 / 0.6711 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.1471, allocations: 0 / 0.6711 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1471, allocations: 3.938 kB / 0.6711 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1473, allocations: 164.5 kB / 0.6713 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1473, allocations: 0 / 0.6713 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.1474, allocations: 31.97 kB / 0.6713 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.1477, allocations: 103.6 kB / 0.6714 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1477, allocations: 7.984 kB / 0.6714 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.149, allocations: 1.918 MB / 0.6733 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.149, allocations: 0 / 0.6733 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.1494, allocations: 346.6 kB / 0.6736 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1495, allocations: 27.88 kB / 0.6736 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1495, allocations: 8.062 kB / 0.6736 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.1496, allocations: 15.92 kB / 0.6737 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.1497, allocations: 15.92 kB / 0.6737 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1497, allocations: 11.98 kB / 0.6737 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.1497, allocations: 142.4 kB / 0.6738 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1497, allocations: 0 / 0.6738 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002545/0.15, allocations: 47.94 kB / 0.6739 GB, free: 4.43 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.0001864/0.1502, allocations: 119.1 kB / 0.674 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.1506, allocations: 285.6 kB / 0.6742 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1506, allocations: 0 / 0.6742 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1508, allocations: 257.3 kB / 0.6745 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1511, allocations: 30.47 kB / 0.6745 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.152, allocations: 294.6 kB / 0.6748 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.978e-05/0.152, allocations: 67.84 kB / 0.6749 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.679e-05/0.1521, allocations: 20.48 kB / 0.6749 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1521, allocations: 16.48 kB / 0.6749 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of SimCode: time 1.323e-06/0.1521, allocations: 0 / 0.6749 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of Templates: time 0.005396/0.1575, allocations: 3.233 MB / 0.6781 GB, free: 88 kB / 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.4604456829838455]