Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.0008392/0.0008392, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0008875/0.0008875, allocations: 177 kB / 23.36 MB, free: 1.129 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.9861/0.9861, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8255/0.8255, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.694e-05, allocations: 10.11 kB / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001314/0.001331, allocations: 0.762 MB / 480.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.002329, allocations: 0.9122 MB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.002374, allocations: 1.312 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.002403, allocations: 8.5 kB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.002496, allocations: 21.47 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002649, allocations: 35.89 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.002753, allocations: 82.02 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.002831, allocations: 23.97 kB / 481.9 MB, free: 5.098 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.002935, allocations: 48.44 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.003, allocations: 42.78 kB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.003026, allocations: 8 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.003037, allocations: 11.94 kB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.003062, allocations: 27 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.003086, allocations: 19.98 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.29e-05/0.003179, allocations: 65.66 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00318, allocations: 0 / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003181, allocations: 7.938 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003184, allocations: 0 / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003315/0.003516, allocations: 275.8 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.003548, allocations: 12.91 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.00358, allocations: 8.938 kB / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.003666, allocations: 126.5 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.003684, allocations: 1 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.003699, allocations: 9.375 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.00384, allocations: 93.89 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.003848, allocations: 5.25 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.003858, allocations: 4 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.003864, allocations: 4 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.003904, allocations: 16.64 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.004165, allocations: 201.4 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.004384, allocations: 67.44 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.004408, allocations: 12.86 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.004422, allocations: 5.156 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.004444, allocations: 42.48 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.004444, allocations: 0 / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002726/0.004717, allocations: 70.38 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.004747, allocations: 56.97 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.004809, allocations: 122.6 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004821, allocations: 25.7 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.004853, allocations: 96.06 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.004873, allocations: 17.33 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.004903, allocations: 29.62 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.004973, allocations: 322.8 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.004991, allocations: 8.688 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.005009, allocations: 7.938 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.005056, allocations: 37.97 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005058, allocations: 3.938 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.601e-05/0.005124, allocations: 54.3 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.005134, allocations: 5.219 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005138, allocations: 4 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.005149, allocations: 0 / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.005215, allocations: 16.7 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005218, allocations: 0.5469 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.005253, allocations: 20.39 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.005259, allocations: 4.688 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.005316, allocations: 110.4 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.005332, allocations: 7.984 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.00543, allocations: 75.2 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005432, allocations: 0.625 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005433, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005437, allocations: 4.938 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.883e-05/0.005536, allocations: 85.81 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.005538, allocations: 5.656 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.005587, allocations: 19.92 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005589, allocations: 3.938 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.005597, allocations: 4 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005597, allocations: 2.031 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005598, allocations: 0 / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.17e-05/0.00569, allocations: 151.5 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.005701, allocations: 15.88 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.005711, allocations: 0 / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.005756, allocations: 8.938 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.005806, allocations: 23.97 kB / 484.3 MB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.005812, allocations: 3.984 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.591e-05/0.005828, allocations: 22.22 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005828, allocations: 0 / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.005949, allocations: 16 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.995e-05/0.006019, allocations: 90.16 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.513e-05/0.006094, allocations: 28.84 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.006097, allocations: 0 / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.006136, allocations: 34.56 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.006265, allocations: 15.98 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.006525, allocations: 171.1 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.006554, allocations: 59.34 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.887e-05/0.006593, allocations: 10.81 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.006664, allocations: 67.36 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006665, allocations: 1.406 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of Templates: time 0.003125/0.00979, allocations: 1.694 MB / 486.5 MB, free: 312 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4682976179756224]