Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0008243/0.0008243, allocations: 80.94 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.0009348/0.0009348, 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 1.052/1.052, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.8736/0.8736, allocations: 154.9 MB / 415.1 MB, free: 228 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.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.5469 kB / 480.5 MB, free: 6.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.199e-05, allocations: 2.312 kB / 480.5 MB, free: 6.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002154/0.002176, allocations: 0.8476 MB / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003518, allocations: 0.9357 MB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003625, allocations: 8.781 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.003769, allocations: 13.41 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.003815, allocations: 4.984 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.004011, allocations: 36.88 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.004151, allocations: 74.86 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004263, allocations: 23.97 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.00445, allocations: 55.75 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.004526, allocations: 16.83 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.004546, allocations: 8 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.00461, allocations: 19.88 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.004629, allocations: 13.22 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.004656, allocations: 15.94 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004787, allocations: 51.81 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00479, allocations: 0.625 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004791, allocations: 0 / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004795, allocations: 3.219 kB / 482.6 MB, free: 4.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004129/0.005208, allocations: 288.7 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.005247, allocations: 8.031 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.005404, allocations: 20.92 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.005603, allocations: 135.5 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.005615, allocations: 5.25 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.005625, allocations: 4.375 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005749, allocations: 70.81 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.005758, allocations: 1.094 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005767, allocations: 384 / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005773, allocations: 1 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.005814, allocations: 19.86 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.006117, allocations: 179 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.006202, allocations: 35.22 kB / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.00622, allocations: 4.859 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.006237, allocations: 4.625 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.006266, allocations: 39.12 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.006267, allocations: 0 / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001344/0.006402, allocations: 42.53 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.006436, allocations: 59.39 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.006532, allocations: 143.2 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.006551, allocations: 25.7 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.006603, allocations: 89.88 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.006624, allocations: 11.95 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.006661, allocations: 17.7 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.006759, allocations: 318.8 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.006776, allocations: 4.906 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.396e-05/0.00679, allocations: 8 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.006824, allocations: 13.88 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.006828, allocations: 4.75 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.571e-05/0.006893, allocations: 37.69 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.006911, allocations: 14.75 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006915, allocations: 0.9688 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006928, allocations: 3.938 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.00698, allocations: 4 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.006983, allocations: 1.219 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.007024, allocations: 15.94 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.00703, allocations: 1.078 kB / 484.2 MB, free: 2.602 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.934e-05/0.0071, allocations: 111 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.007129, allocations: 3.938 kB / 484.3 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.007158, allocations: 18.23 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.00716, allocations: 0 / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.007162, allocations: 0 / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007165, allocations: 3.938 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.007299, allocations: 85.8 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.0073, allocations: 0.75 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.007326, allocations: 4 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007328, allocations: 0.9688 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.007333, allocations: 0 / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.007337, allocations: 7.922 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007338, allocations: 1.031 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.007442, allocations: 140.3 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.007457, allocations: 8.734 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.007474, allocations: 0 / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.007542, allocations: 12.8 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.007584, allocations: 11.98 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.007588, allocations: 2.484 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.007619, allocations: 24.83 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007619, allocations: 0 / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.007838, allocations: 8 kB / 484.6 MB, free: 2.125 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.577e-05/0.007933, allocations: 77.17 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.663e-05/0.00802, allocations: 25.28 kB / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.008026, allocations: 0.5938 kB / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.008056, allocations: 14.08 kB / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.008268, allocations: 15.89 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.008789, allocations: 180.9 kB / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.093e-05/0.00884, allocations: 61.12 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.49e-05/0.008875, allocations: 4.844 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.008953, allocations: 59.36 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/0.008954, allocations: 0.5 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of Templates: time 0.003272/0.01223, allocations: 0.972 MB / 486 MB, free: 0.7461 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.658692156895995]