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.001246/0.001246, allocations: 77.33 kB / 19.18 MB, free: 2.512 MB / 14.72 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.001397/0.001397, allocations: 161.2 kB / 22.46 MB, free: 5.391 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 1.19/1.19, allocations: 154.5 MB / 413.7 MB, free: 5.277 MB / 382.1 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 178] 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 2.024e-06/2.024e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.207e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001933/0.001965, allocations: 0.8132 MB / 0.6194 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.003482, allocations: 0.9228 MB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.003574, allocations: 7.938 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003698, allocations: 15.81 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.003748, allocations: 16.56 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.003957, allocations: 35.91 kB / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.00411, allocations: 102.3 kB / 0.6205 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.004251, allocations: 39.89 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.004438, allocations: 63.81 kB / 0.6206 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.004509, allocations: 31.84 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.004531, allocations: 8 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.004576, allocations: 12 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.004599, allocations: 20.47 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004633, allocations: 23.94 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004805, allocations: 111.7 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004807, allocations: 0 / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004808, allocations: 0 / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.004817, allocations: 0 / 0.6208 GB, free: 2.363 MB / 0.5294 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.0005892/0.005406, allocations: 341.8 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.00544, allocations: 9.469 kB / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.005581, allocations: 24.81 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.005811, allocations: 151.7 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.005825, allocations: 8.375 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.005847, allocations: 12.36 kB / 0.6213 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.006083, allocations: 86.2 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006091, allocations: 4.188 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.006102, allocations: 384 / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.006106, allocations: 384 / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.006352, allocations: 79.88 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.006813, allocations: 272.3 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.007068, allocations: 66.47 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.007191, allocations: 36.92 kB / 0.6218 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.007209, allocations: 4 kB / 0.6218 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.007235, allocations: 34.56 kB / 0.6218 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.007236, allocations: 0 / 0.6218 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004419/0.007678, allocations: 113.6 kB / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.007719, allocations: 59.33 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.007832, allocations: 137.7 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.007859, allocations: 29.7 kB / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.007927, allocations: 108.1 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.007943, allocations: 3.953 kB / 0.6223 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.007985, allocations: 17.72 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.008133, allocations: 326.8 kB / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.008254, allocations: 27.97 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.008363, allocations: 27.98 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.008578, allocations: 60.8 kB / 0.6227 GB, free: 200 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.008579, allocations: 0 / 0.6227 GB, free: 200 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003619/0.008941, allocations: 97.59 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.008959, allocations: 4 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008964, allocations: 7.938 kB / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.00898, allocations: 0 / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.009087, allocations: 15.92 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.009091, allocations: 0 / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.009206, allocations: 24.06 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.009218, allocations: 4 kB / 0.6229 GB, free: 40 kB / 0.5294 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 0.0001127/0.00933, allocations: 130.8 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.009356, allocations: 3.938 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.009389, allocations: 12.34 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009391, allocations: 0 / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.009394, allocations: 0 / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.009397, allocations: 0 / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.009583, allocations: 133.2 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009584, allocations: 4 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.009666, allocations: 11.98 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009668, allocations: 0 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.009681, allocations: 4 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009683, allocations: 0 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009683, allocations: 0 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.01001, allocations: 195.3 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.01002, allocations: 4.234 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01004, allocations: 8 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01017, allocations: 15.97 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.01023, allocations: 11.97 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.01023, allocations: 0 / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.0103, allocations: 105.6 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0103, allocations: 0 / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002193/0.01052, allocations: 11.95 kB / 0.6235 GB, free: 15.34 MB / 0.545 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.0001335/0.01066, allocations: 103.2 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.01096, allocations: 71.88 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01096, allocations: 0 / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.01109, allocations: 27.98 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01134, allocations: 19.91 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.01174, allocations: 185.2 kB / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.01184, allocations: 83.27 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.01188, allocations: 4 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.01192, allocations: 12.5 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.01192, allocations: 0 / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Templates: time 0.00395/0.01587, allocations: 1.073 MB / 0.625 GB, free: 13.73 MB / 0.545 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.817036032676697] Failed to read output from testmodel.py, exit status != 0: 0.024309027940034866 0.039784872000000006 0.031975134 Calling exit ...