Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.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.0007997/0.0007997, allocations: 76.45 kB / 19.91 MB, free: 16 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.0009871/0.0009871, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.9/0.9, allocations: 177.2 MB / 203.6 MB, free: 5.777 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-531:190: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-531:198: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.7097/0.7097, allocations: 155 MB / 415 MB, free: 0.4922 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.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008796/0.0008796, allocations: 75.88 kB / 0.62 GB, free: 12.71 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4385, allocations: 102 MB / 0.7195 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001604/0.4401, allocations: 0.8244 MB / 0.7203 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.441, allocations: 0.9219 MB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.4411, allocations: 7.156 kB / 0.7213 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.4412, allocations: 11.25 kB / 0.7213 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.4413, allocations: 22.3 kB / 0.7213 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.4415, allocations: 39.17 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.4416, allocations: 101.4 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.4417, allocations: 28.5 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.4419, allocations: 75.52 kB / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.442, allocations: 33.19 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.442, allocations: 8.438 kB / 0.7216 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.4421, allocations: 14.2 kB / 0.7216 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.4421, allocations: 17.81 kB / 0.7216 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.4421, allocations: 31.25 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.4423, allocations: 111.7 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4423, allocations: 1.125 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4423, allocations: 0 / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4423, allocations: 7.875 kB / 0.7217 GB, free: 22.05 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004415/0.4427, allocations: 349 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4428, allocations: 10.75 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.4429, allocations: 18.52 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.4431, allocations: 152 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4431, allocations: 2.562 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4431, allocations: 8.469 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.4433, allocations: 89.02 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4433, allocations: 192 / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4433, allocations: 5.188 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4433, allocations: 1.406 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4435, allocations: 77.56 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.4438, allocations: 276.5 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4439, allocations: 66.05 kB / 0.7227 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.444, allocations: 31.75 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.444, allocations: 4.969 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.444, allocations: 31.75 kB / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.444, allocations: 0 / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002975/0.4443, allocations: 123.7 kB / 0.7229 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.4444, allocations: 52.69 kB / 0.723 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.4444, allocations: 135.8 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4444, allocations: 25.7 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.4445, allocations: 109 kB / 0.7232 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4445, allocations: 8 kB / 0.7232 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.4445, allocations: 18.28 kB / 0.7233 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.27e-05/0.4446, allocations: 324.2 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.4446, allocations: 32.23 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.4447, allocations: 27.31 kB / 0.7236 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.4448, allocations: 59.12 kB / 0.7237 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4448, allocations: 0.6562 kB / 0.7237 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001534/0.445, allocations: 104.4 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.445, allocations: 7 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.445, allocations: 0 / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.445, allocations: 1.375 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.4451, allocations: 11.11 kB / 0.7238 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4451, allocations: 9 kB / 0.7238 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.4451, allocations: 22.94 kB / 0.7238 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4451, allocations: 3.094 kB / 0.7238 GB, free: 20.36 MB / 0.6355 GB 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 (5): * Single equations (assignments): 5 * 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.285e-05/0.4452, allocations: 114.8 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.4452, allocations: 4.391 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.4452, allocations: 12.03 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4452, allocations: 3.984 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4452, allocations: 1.125 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4452, allocations: 4.688 kB / 0.724 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.4453, allocations: 134.4 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4453, allocations: 2.109 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.4454, allocations: 22.88 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.4454, allocations: 0 / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4454, allocations: 1.703 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4454, allocations: 0.5156 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.4454, allocations: 1.031 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.4455, allocations: 191.2 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.4456, allocations: 10.38 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.4456, allocations: 2 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.4456, allocations: 14.44 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.4457, allocations: 13.67 kB / 0.7243 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.4457, allocations: 1.719 kB / 0.7243 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.4457, allocations: 101.6 kB / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4457, allocations: 1.094 kB / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001471/0.4459, allocations: 18.2 kB / 0.7245 GB, free: 19.82 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: 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 (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 Backend phase and start with SimCode phase: time 7.678e-05/0.446, allocations: 98.02 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.4461, allocations: 67.59 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4461, allocations: 0.8125 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-05/0.4462, allocations: 34.84 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4464, allocations: 10.56 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.4467, allocations: 223 kB / 0.7249 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.4467, allocations: 83.92 kB / 0.725 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.4468, allocations: 17.36 kB / 0.725 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.4468, allocations: 0 / 0.725 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.002174/0.4489, allocations: 1.158 MB / 0.7261 GB, free: 19.34 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.323495255084708] Failed to read output from testmodel.py, exit status != 0: 0.4536450421437621 0.46173723299999997 0.017826484 Calling exit ...