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.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.0009703/0.0009703, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00105/0.00105, allocations: 173 kB / 23.5 MB, free: 1.059 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7961/0.7961, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5206 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.981e-05, allocations: 7.219 kB / 0.5206 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00238/0.0024, allocations: 1.934 MB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1412/0.1436, allocations: 151.2 MB / 0.6701 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1438, allocations: 7.938 kB / 0.6701 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1439, allocations: 23.72 kB / 0.6701 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1442, allocations: 83.3 kB / 0.6702 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.1448, allocations: 274.9 kB / 0.6705 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.145, allocations: 275 kB / 0.6707 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1451, allocations: 46.59 kB / 0.6708 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.1461, allocations: 357.8 kB / 0.6711 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.1462, allocations: 75.78 kB / 0.6712 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1462, allocations: 16 kB / 0.6712 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1465, allocations: 179.6 kB / 0.6714 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1465, allocations: 39.89 kB / 0.6714 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.1466, allocations: 67.81 kB / 0.6715 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1469, allocations: 275 kB / 0.6717 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1469, allocations: 3.938 kB / 0.6717 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1469, allocations: 0 / 0.6717 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1469, allocations: 0 / 0.6717 GB, free: 7.223 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006797/0.1476, allocations: 0.5542 MB / 0.6723 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1476, allocations: 8.031 kB / 0.6723 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006718/0.1483, allocations: 151.4 kB / 0.6724 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1486, allocations: 174.5 kB / 0.6726 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.1486, allocations: 67.73 kB / 0.6727 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1487, allocations: 19.94 kB / 0.6727 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.149, allocations: 317.3 kB / 0.673 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.149, allocations: 0 / 0.673 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.149, allocations: 4 kB / 0.673 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1491, allocations: 4 kB / 0.673 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.1492, allocations: 95.8 kB / 0.6731 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1503, allocations: 1.413 MB / 0.6745 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.1507, allocations: 167.1 kB / 0.6746 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.1507, allocations: 35.67 kB / 0.6746 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1507, allocations: 7.938 kB / 0.6747 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1508, allocations: 41.38 kB / 0.6747 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1508, allocations: 0 / 0.6747 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001213/0.152, allocations: 403.5 kB / 0.6751 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.152, allocations: 51.41 kB / 0.6751 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1522, allocations: 234 kB / 0.6754 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1522, allocations: 29.7 kB / 0.6754 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.1523, allocations: 187 kB / 0.6756 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1523, allocations: 51.56 kB / 0.6756 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1524, allocations: 55.3 kB / 0.6757 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1525, allocations: 0.4962 MB / 0.6761 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.1526, allocations: 35.84 kB / 0.6762 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1527, allocations: 154.8 kB / 0.6763 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1529, allocations: 157.4 kB / 0.6765 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1529, allocations: 0 / 0.6765 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000623/0.1535, allocations: 296.5 kB / 0.6768 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1535, allocations: 8 kB / 0.6768 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1535, allocations: 4.219 kB / 0.6768 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/0.1543, allocations: 251.1 kB / 0.677 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.1544, allocations: 31.97 kB / 0.677 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.25/0.4044, allocations: 3.782 MB / 0.6807 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.4046, allocations: 26.91 kB / 0.6808 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.4046, allocations: 15.98 kB / 0.6808 GB, free: 200.1 MB / 0.6355 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.0001041/0.4047, allocations: 170 kB / 0.6809 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.4048, allocations: 20.48 kB / 0.681 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.4054, allocations: 300.6 kB / 0.6812 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4054, allocations: 6.781 kB / 0.6813 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.4054, allocations: 0 / 0.6813 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4054, allocations: 1.219 kB / 0.6813 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.4056, allocations: 194.1 kB / 0.6814 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4056, allocations: 3.938 kB / 0.6814 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.4056, allocations: 19.98 kB / 0.6815 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006074/0.4062, allocations: 217.9 kB / 0.6817 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4062, allocations: 10.06 kB / 0.6817 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.4078, allocations: 3.832 MB / 0.6854 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4078, allocations: 0 / 0.6854 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.4083, allocations: 418 kB / 0.6858 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.4084, allocations: 31.53 kB / 0.6858 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4084, allocations: 8.516 kB / 0.6859 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4085, allocations: 9.125 kB / 0.6859 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.4086, allocations: 25.38 kB / 0.6859 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4086, allocations: 6.781 kB / 0.6859 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.4086, allocations: 170.5 kB / 0.6861 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4086, allocations: 0.625 kB / 0.6861 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002684/0.4089, allocations: 79.12 kB / 0.6861 GB, free: 195.7 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 (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.0001461/0.4091, allocations: 117.2 kB / 0.6862 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.4095, allocations: 0.4957 MB / 0.6867 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4095, allocations: 0.9844 kB / 0.6867 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.4098, allocations: 440.3 kB / 0.6872 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.41, allocations: 58.64 kB / 0.6872 GB, free: 194.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.4108, allocations: 420.6 kB / 0.6876 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.4109, allocations: 87.09 kB / 0.6877 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.411, allocations: 35.81 kB / 0.6877 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.411, allocations: 20.48 kB / 0.6877 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.411, allocations: 0.7656 kB / 0.6877 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.005738/0.4168, allocations: 5 MB / 0.6926 GB, free: 194.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5069876939523965]