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.001111/0.001111, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001302/0.001302, allocations: 169 kB / 23.27 MB, free: 1.223 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.9593/0.9593, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7981/0.7981, allocations: 154.9 MB / 415.1 MB, free: 260 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 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.383e-06/1.383e-06, allocations: 0.7656 kB / 0.5211 GB, free: 456 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.69e-05, allocations: 8.078 kB / 0.5211 GB, free: 448 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003545/0.003561, allocations: 1.921 MB / 0.523 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4265/0.4301, allocations: 144.9 MB / 0.6645 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.4303, allocations: 2.469 kB / 0.6645 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.4305, allocations: 24.58 kB / 0.6645 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.4308, allocations: 86.52 kB / 0.6646 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.4317, allocations: 271.4 kB / 0.6648 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.4321, allocations: 270 kB / 0.6651 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.4322, allocations: 49.05 kB / 0.6651 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.4335, allocations: 354 kB / 0.6655 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.4337, allocations: 71.5 kB / 0.6655 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.4337, allocations: 15.78 kB / 0.6655 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.4342, allocations: 180.6 kB / 0.6657 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.4343, allocations: 49.16 kB / 0.6658 GB, free: 16.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.4344, allocations: 64.98 kB / 0.6658 GB, free: 16.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.4349, allocations: 274 kB / 0.6661 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4349, allocations: 0.7188 kB / 0.6661 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4349, allocations: 0 / 0.6661 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4349, allocations: 0.8438 kB / 0.6661 GB, free: 16.12 MB / 0.5573 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.0007218/0.4356, allocations: 0.5539 MB / 0.6666 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4357, allocations: 9.625 kB / 0.6666 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.4366, allocations: 152.9 kB / 0.6668 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.4368, allocations: 176.6 kB / 0.667 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.4369, allocations: 65.11 kB / 0.667 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.4369, allocations: 14.72 kB / 0.667 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.4372, allocations: 300 kB / 0.6673 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4373, allocations: 1.219 kB / 0.6673 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.4373, allocations: 9.281 kB / 0.6673 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4373, allocations: 7.75 kB / 0.6673 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.4375, allocations: 81.64 kB / 0.6674 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4385, allocations: 1.383 MB / 0.6688 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.439, allocations: 147.4 kB / 0.6689 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.4391, allocations: 40.23 kB / 0.6689 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.4391, allocations: 6.688 kB / 0.6689 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.4392, allocations: 35.17 kB / 0.669 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.4392, allocations: 0 / 0.669 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12): time 0.001385/0.4405, allocations: 380.5 kB / 0.6693 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.4406, allocations: 55.53 kB / 0.6694 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4407, allocations: 239.9 kB / 0.6696 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4407, allocations: 26.89 kB / 0.6696 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.4408, allocations: 193.4 kB / 0.6698 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.4408, allocations: 46.69 kB / 0.6699 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.4409, allocations: 49.8 kB / 0.6699 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.4409, allocations: 0.4993 MB / 0.6704 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.441, allocations: 25.12 kB / 0.6704 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-05/0.4411, allocations: 110 kB / 0.6705 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4413, allocations: 141.7 kB / 0.6707 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4413, allocations: 5.375 kB / 0.6707 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007487/0.442, allocations: 284.3 kB / 0.671 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.442, allocations: 8.641 kB / 0.671 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.442, allocations: 2.75 kB / 0.671 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009436/0.443, allocations: 246.1 kB / 0.6712 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4431, allocations: 33.48 kB / 0.6712 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.4453, allocations: 3.742 MB / 0.6749 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.4455, allocations: 27.38 kB / 0.6749 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4455, allocations: 11.25 kB / 0.6749 GB, free: 9.074 MB / 0.5573 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 8.799e-05/0.4456, allocations: 170.6 kB / 0.6751 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.4457, allocations: 17.42 kB / 0.6751 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/0.4463, allocations: 286.2 kB / 0.6754 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4463, allocations: 2.312 kB / 0.6754 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4463, allocations: 3.141 kB / 0.6754 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4463, allocations: 0 / 0.6754 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4465, allocations: 161.1 kB / 0.6755 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4465, allocations: 1.188 kB / 0.6755 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.4465, allocations: 17.77 kB / 0.6755 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/0.4471, allocations: 231.7 kB / 0.6758 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4471, allocations: 0 / 0.6758 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.4487, allocations: 3.762 MB / 0.6794 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4487, allocations: 3.203 kB / 0.6794 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.4492, allocations: 403.9 kB / 0.6798 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.4492, allocations: 45.86 kB / 0.6799 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.4492, allocations: 3.688 kB / 0.6799 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4493, allocations: 10.62 kB / 0.6799 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.4494, allocations: 18.11 kB / 0.6799 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4494, allocations: 3.219 kB / 0.6799 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.4495, allocations: 170.6 kB / 0.6801 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.4495, allocations: 0 / 0.6801 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003225/0.4498, allocations: 71.31 kB / 0.6801 GB, free: 4.801 MB / 0.5573 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.000137/0.4499, allocations: 124 kB / 0.6803 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.4503, allocations: 489.5 kB / 0.6807 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4503, allocations: 0 / 0.6807 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.4506, allocations: 444.8 kB / 0.6812 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.4508, allocations: 58.98 kB / 0.6812 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.4516, allocations: 411.4 kB / 0.6816 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.4516, allocations: 85.84 kB / 0.6817 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.718e-05/0.4517, allocations: 35.3 kB / 0.6817 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4518, allocations: 112 kB / 0.6818 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.4518, allocations: 4 kB / 0.6818 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of Templates: time 0.006488/0.4583, allocations: 5.293 MB / 0.687 GB, free: 3.105 MB / 0.5573 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.31189487176016]