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.001772/0.001772, allocations: 81.5 kB / 19.44 MB, free: 344 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.001975/0.001975, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.148 MB / 186.7 MB " [Timeout remaining time 178] 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 1.336/1.336, allocations: 154.8 MB / 414.3 MB, free: 412 kB / 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 178] 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 2.024e-06/2.024e-06, allocations: 0 / 0.5198 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.718e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.005106/0.005144, allocations: 1.892 MB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2576/0.2628, allocations: 151.2 MB / 0.6693 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2629, allocations: 11.94 kB / 0.6693 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.2632, allocations: 31.66 kB / 0.6694 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.2635, allocations: 71.44 kB / 0.6694 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.2643, allocations: 274.9 kB / 0.6697 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.2646, allocations: 263 kB / 0.6699 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2648, allocations: 58.38 kB / 0.67 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.2668, allocations: 357.8 kB / 0.6703 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.267, allocations: 75.77 kB / 0.6704 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.2671, allocations: 16 kB / 0.6704 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.2675, allocations: 183.7 kB / 0.6706 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.2675, allocations: 47.81 kB / 0.6706 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2676, allocations: 63.88 kB / 0.6707 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.2682, allocations: 310.9 kB / 0.671 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2682, allocations: 8 kB / 0.671 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2682, allocations: 0 / 0.671 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2682, allocations: 0 / 0.671 GB, free: 7.164 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.001096/0.2693, allocations: 0.5616 MB / 0.6716 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2694, allocations: 12.03 kB / 0.6716 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.2706, allocations: 139.5 kB / 0.6717 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2709, allocations: 179.7 kB / 0.6719 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.271, allocations: 59.73 kB / 0.6719 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.2711, allocations: 19.94 kB / 0.6719 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.2717, allocations: 332.7 kB / 0.6723 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2717, allocations: 0 / 0.6723 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.2717, allocations: 8 kB / 0.6723 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.2717, allocations: 4 kB / 0.6723 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.2722, allocations: 147.8 kB / 0.6724 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.2742, allocations: 1.448 MB / 0.6738 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/0.275, allocations: 203.1 kB / 0.674 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.2752, allocations: 63.66 kB / 0.6741 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.2752, allocations: 4 kB / 0.6741 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.2753, allocations: 37.39 kB / 0.6741 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2753, allocations: 0 / 0.6741 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.002863/0.2781, allocations: 468.5 kB / 0.6746 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2782, allocations: 51.41 kB / 0.6746 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.2785, allocations: 266 kB / 0.6749 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2785, allocations: 25.7 kB / 0.6749 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2786, allocations: 190.9 kB / 0.6751 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.2787, allocations: 47.53 kB / 0.6751 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.2788, allocations: 63.28 kB / 0.6752 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002662/0.2791, allocations: 0.5001 MB / 0.6757 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2793, allocations: 55.91 kB / 0.6757 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.2795, allocations: 174.8 kB / 0.6759 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.28, allocations: 212.5 kB / 0.6761 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.28, allocations: 0 / 0.6761 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001554/0.2815, allocations: 344.7 kB / 0.6764 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.2816, allocations: 8 kB / 0.6764 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2816, allocations: 3.984 kB / 0.6764 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.2835, allocations: 259.2 kB / 0.6767 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2837, allocations: 31.97 kB / 0.6767 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2575/0.5412, allocations: 3.959 MB / 0.6806 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.5415, allocations: 21.78 kB / 0.6806 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.5416, allocations: 14.66 kB / 0.6806 GB, free: 199.8 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.0001265/0.5417, allocations: 181.3 kB / 0.6808 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.5417, allocations: 14.02 kB / 0.6808 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.5429, allocations: 355.1 kB / 0.6811 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5429, allocations: 2.938 kB / 0.6811 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.5429, allocations: 0.9375 kB / 0.6811 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5429, allocations: 2.906 kB / 0.6811 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.5431, allocations: 213.2 kB / 0.6814 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5431, allocations: 3.938 kB / 0.6814 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5432, allocations: 22.42 kB / 0.6814 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.5445, allocations: 234.7 kB / 0.6816 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.5445, allocations: 2.844 kB / 0.6816 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.5473, allocations: 4.006 MB / 0.6855 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5473, allocations: 3.375 kB / 0.6855 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.5484, allocations: 471.9 kB / 0.686 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.5485, allocations: 34.47 kB / 0.686 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.5485, allocations: 0.5625 kB / 0.686 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.5488, allocations: 16.41 kB / 0.686 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.5489, allocations: 23.31 kB / 0.686 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.5489, allocations: 7.031 kB / 0.686 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001212/0.549, allocations: 187.1 kB / 0.6862 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.549, allocations: 2.844 kB / 0.6862 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003871/0.5494, allocations: 75.88 kB / 0.6863 GB, free: 195.5 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.000182/0.5496, allocations: 114.9 kB / 0.6864 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008699/0.5504, allocations: 0.5378 MB / 0.6869 GB, free: 195 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5504, allocations: 0.75 kB / 0.6869 GB, free: 195 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.551, allocations: 474.8 kB / 0.6874 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.5514, allocations: 46.56 kB / 0.6874 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.5522, allocations: 421.6 kB / 0.6878 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.5523, allocations: 122.5 kB / 0.688 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.5524, allocations: 36.17 kB / 0.688 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.5524, allocations: 19.52 kB / 0.688 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.5524, allocations: 0 / 0.688 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.0088/0.5612, allocations: 5.001 MB / 0.6929 GB, free: 194 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.764946651062928]