Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009877/0.0009877, 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.0009871/0.0009871, 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.9468/0.9468, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7943/0.7943, allocations: 154.6 MB / 414.8 MB, free: 480 kB / 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.083e-05, allocations: 3.156 kB / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001477/0.001498, allocations: 0.802 MB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.002415, allocations: 0.9418 MB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.002503, allocations: 7.938 kB / 481.8 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.002626, allocations: 13.72 kB / 481.8 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.002662, allocations: 8.047 kB / 481.8 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.002829, allocations: 29.22 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.002929, allocations: 77.86 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.003018, allocations: 25.66 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.003146, allocations: 49.36 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.003202, allocations: 19.91 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.003216, allocations: 8 kB / 482 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.003253, allocations: 17.69 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.003267, allocations: 7.938 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.003289, allocations: 23.91 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.003384, allocations: 47.83 kB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003387, allocations: 5.422 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003388, allocations: 0 / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.003391, allocations: 0 / 482.1 MB, free: 4.77 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.0002952/0.003686, allocations: 283.7 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.003715, allocations: 8.531 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.003813, allocations: 26.22 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.003943, allocations: 134.9 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.003952, allocations: 4.375 kB / 482.6 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.003961, allocations: 4.906 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.039e-05/0.004051, allocations: 69.94 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.004057, allocations: 192 / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-06/0.004064, allocations: 5.156 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.004069, allocations: 384 / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.004094, allocations: 15.92 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.004305, allocations: 184.1 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.004371, allocations: 34.56 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.004384, allocations: 10.67 kB / 482.9 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.004393, allocations: 0 / 482.9 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.004413, allocations: 34.5 kB / 482.9 MB, free: 3.887 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 5.52e-07/0.004413, allocations: 0.625 kB / 482.9 MB, free: 3.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.914e-05/0.004512, allocations: 47.05 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.004542, allocations: 55.41 kB / 483 MB, free: 3.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.004603, allocations: 133.2 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.004619, allocations: 26.33 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.004655, allocations: 96.73 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.004667, allocations: 8.578 kB / 483.3 MB, free: 3.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.004693, allocations: 25.62 kB / 483.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.004764, allocations: 319.4 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.004773, allocations: 0.625 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.004784, allocations: 7.984 kB / 483.6 MB, free: 3.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.004808, allocations: 14.23 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004809, allocations: 0 / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.777e-05/0.004857, allocations: 48.11 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004868, allocations: 7.938 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004872, allocations: 0 / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.004881, allocations: 0 / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.004925, allocations: 11.98 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004928, allocations: 0.9062 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.004954, allocations: 11.95 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.004959, allocations: 1 kB / 483.7 MB, free: 3.035 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 5.439e-05/0.005013, allocations: 114.3 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.005028, allocations: 7.938 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.005048, allocations: 9.656 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.00505, allocations: 3.938 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.005052, allocations: 0 / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005054, allocations: 4.656 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.525e-05/0.00514, allocations: 77.81 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005141, allocations: 5.203 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.005152, allocations: 4 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005154, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.005158, allocations: 0.9375 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005159, allocations: 7.875 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00516, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.005229, allocations: 136.7 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.00524, allocations: 15.92 kB / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.005252, allocations: 0 / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.005287, allocations: 8.562 kB / 484.1 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.00532, allocations: 13.89 kB / 484.1 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.005323, allocations: 3.984 kB / 484.1 MB, free: 2.594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.906e-05/0.005343, allocations: 22.88 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005343, allocations: 0 / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.005457, allocations: 8 kB / 484.2 MB, free: 2.562 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 7.293e-05/0.00553, allocations: 81.92 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.158e-05/0.005581, allocations: 24.78 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005583, allocations: 0 / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.0056, allocations: 13.67 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.005725, allocations: 8.781 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.006083, allocations: 184 kB / 484.5 MB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.006114, allocations: 59.22 kB / 484.5 MB, free: 2.145 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.665e-05/0.006141, allocations: 9.234 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.006192, allocations: 55.38 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006192, allocations: 1.438 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of Templates: time 0.002323/0.008515, allocations: 0.9706 MB / 485.6 MB, free: 1.176 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7153304116800427]