Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001363/0.001363, allocations: 92.7 kB / 19.44 MB, free: 324 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.00258/0.00258, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.23/1.23, allocations: 154.8 MB / 414.3 MB, free: 464 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 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.574e-05, allocations: 5.812 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002016/0.002051, allocations: 0.6884 MB / 0.5205 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003323, allocations: 0.8578 MB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.003364, allocations: 0 / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.003398, allocations: 4.438 kB / 0.5214 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.615e-05/0.003484, allocations: 5.938 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.003653, allocations: 27.84 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.361e-05/0.003747, allocations: 47.91 kB / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003852, allocations: 7.984 kB / 0.5215 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.003949, allocations: 29.64 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.004017, allocations: 23.95 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.004042, allocations: 4 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.106e-05/0.004063, allocations: 4 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.004086, allocations: 7.938 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.00412, allocations: 13.55 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.004242, allocations: 55.84 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004245, allocations: 0 / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004246, allocations: 0 / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.004251, allocations: 0.75 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000587/0.004838, allocations: 279.7 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.004882, allocations: 12.03 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.004935, allocations: 12.83 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.005085, allocations: 105.8 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.005105, allocations: 5.719 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.005117, allocations: 384 / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.005332, allocations: 66.22 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005342, allocations: 4.781 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.005357, allocations: 4 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005363, allocations: 7.047 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.005604, allocations: 51.94 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.006067, allocations: 228.5 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.00629, allocations: 70.47 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.006401, allocations: 25.48 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.006421, allocations: 3.984 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.006458, allocations: 35.12 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006459, allocations: 0.7188 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.000453/0.006912, allocations: 111.7 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.006969, allocations: 51.41 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.007077, allocations: 105.8 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.007104, allocations: 29.7 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.007175, allocations: 96.91 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.007198, allocations: 7.953 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.007242, allocations: 17.7 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.007433, allocations: 320.2 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.007546, allocations: 23.97 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.007639, allocations: 21.33 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.007848, allocations: 61.64 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.007852, allocations: 3.938 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002702/0.008123, allocations: 90.88 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.008137, allocations: 6.344 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.008141, allocations: 1.344 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.008159, allocations: 0 / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.00828, allocations: 11.98 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008286, allocations: 2.906 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.008367, allocations: 11.98 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.008374, allocations: 0 / 0.5234 GB, free: 14.55 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: 2 (reaToInt.y,intLesThr.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 0.000108/0.008481, allocations: 121.7 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.008511, allocations: 3.984 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.008539, allocations: 12 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008541, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008545, allocations: 2.75 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.008547, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.008719, allocations: 117.3 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.008724, allocations: 3.938 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.008822, allocations: 11.98 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.008827, allocations: 4 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.008838, allocations: 4 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008839, allocations: 0.6875 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00884, allocations: 0 / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.009169, allocations: 176.7 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.009188, allocations: 16.59 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.009203, allocations: 0 / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.009309, allocations: 8.438 kB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.009377, allocations: 20.84 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.009386, allocations: 4 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003183/0.009704, allocations: 91.64 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009704, allocations: 1.656 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002369/0.009941, allocations: 8 kB / 0.524 GB, free: 13.91 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001414/0.01008, allocations: 97.67 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.01038, allocations: 55.95 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01038, allocations: 0 / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.0105, allocations: 31.91 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.01085, allocations: 14.47 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.01126, allocations: 136.5 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.01134, allocations: 63.62 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01138, allocations: 4.938 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.01144, allocations: 17.52 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01144, allocations: 0 / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.003715/0.01515, allocations: 0.9642 MB / 0.5253 GB, free: 12.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.904571056948043]