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.0009066/0.0009066, allocations: 93.06 kB / 19.65 MB, free: 280 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.000983/0.000983, allocations: 169 kB / 23.02 MB, free: 1.551 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.07/1.07, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.8492/0.8492, allocations: 154.8 MB / 414.7 MB, free: 496 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.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: Performance of FrontEnd - loaded program: time 4.288e-06/4.288e-06, allocations: 0 / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/4.009e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001965/0.002005, allocations: 0.8471 MB / 0.5215 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003074, allocations: 0.9442 MB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.003188, allocations: 7.938 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.003317, allocations: 17.61 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.821e-05/0.003355, allocations: 15.86 kB / 0.5224 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.00358, allocations: 35.89 kB / 0.5224 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.003726, allocations: 104.5 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.003855, allocations: 31.95 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.004038, allocations: 65.22 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.004106, allocations: 31.91 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.004128, allocations: 8 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.004173, allocations: 9.344 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.004194, allocations: 23.91 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.004221, allocations: 23.92 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.004366, allocations: 71.67 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004369, allocations: 1.719 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00437, allocations: 0 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.004375, allocations: 0 / 0.5228 GB, free: 15.65 MB / 0.4948 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.0004357/0.00481, allocations: 426.4 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004849, allocations: 8.031 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.004982, allocations: 28.84 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.005163, allocations: 146 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005175, allocations: 4.938 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.005188, allocations: 4.375 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.005339, allocations: 87.47 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.005348, allocations: 1.188 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.005361, allocations: 4.375 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.00537, allocations: 4.906 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.005416, allocations: 19.92 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.005819, allocations: 336.8 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.005925, allocations: 51.92 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.00595, allocations: 11.69 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.005969, allocations: 4 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.005991, allocations: 34.92 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005992, allocations: 0 / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.00617, allocations: 65.91 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.006198, allocations: 51.41 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.006297, allocations: 189.4 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.006313, allocations: 25.7 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.006662, allocations: 151.4 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.006683, allocations: 15.91 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.006722, allocations: 32.58 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006848, allocations: 0.4961 MB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.006874, allocations: 7.984 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.006892, allocations: 4 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.00694, allocations: 20.44 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.006943, allocations: 4.969 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.773e-05/0.007031, allocations: 53.64 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.007048, allocations: 8 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007053, allocations: 0.5 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.00707, allocations: 7.234 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.007146, allocations: 11.92 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.007153, allocations: 4 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.47e-05/0.007187, allocations: 8 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.007195, allocations: 3.984 kB / 0.525 GB, free: 13.16 MB / 0.4948 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 8.371e-05/0.007279, allocations: 160.5 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.007302, allocations: 7.953 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.00733, allocations: 11.38 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.007333, allocations: 4 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.007338, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.007341, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.007469, allocations: 140.5 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.00747, allocations: 0 / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.007508, allocations: 11.98 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007511, allocations: 0 / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.007519, allocations: 1.5 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007519, allocations: 0 / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00752, allocations: 0 / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.007669, allocations: 211.8 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.007685, allocations: 8.453 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.00771, allocations: 8 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.007755, allocations: 5.031 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.007813, allocations: 15.97 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.007817, allocations: 0.5 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.007868, allocations: 141.8 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007868, allocations: 0 / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000154/0.008022, allocations: 15.94 kB / 0.5258 GB, free: 12.38 MB / 0.4948 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 0.0001011/0.008123, allocations: 99.23 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.008227, allocations: 39.61 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008229, allocations: 2.438 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.00826, allocations: 19.69 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.008477, allocations: 15.92 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.009032, allocations: 199.2 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.009073, allocations: 61.08 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.009109, allocations: 5.016 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.009148, allocations: 13.5 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.009149, allocations: 0 / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.002996/0.01214, allocations: 1.08 MB / 0.5272 GB, free: 10.84 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0129561722278595]