Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.001015/0.001015, allocations: 93.06 kB / 19.65 MB, free: 276 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.001128/0.001128, allocations: 169 kB / 23.02 MB, free: 1.547 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.9669/0.9669, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.8592/0.8592, allocations: 154.9 MB / 414.8 MB, free: 408 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.7656 kB / 0.5207 GB, free: 1.848 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.721e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001734/0.001762, allocations: 0.7601 MB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002838, allocations: 0.9117 MB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.002887, allocations: 4.969 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.002924, allocations: 7.922 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.003015, allocations: 13.47 kB / 0.5224 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.003201, allocations: 43.88 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.003316, allocations: 87.77 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003425, allocations: 20.55 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.003547, allocations: 47.97 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.003622, allocations: 41.05 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.003651, allocations: 8 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.003666, allocations: 8 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.00369, allocations: 16.92 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.003727, allocations: 27.91 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003849, allocations: 71.72 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003851, allocations: 1.219 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003852, allocations: 0 / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.003856, allocations: 0 / 0.5227 GB, free: 15.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004794/0.004336, allocations: 401 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.004376, allocations: 9.844 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.004431, allocations: 16.89 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.004544, allocations: 132.4 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.004569, allocations: 4.375 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.004584, allocations: 8.375 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.00479, allocations: 96.41 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.0048, allocations: 3.938 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.004813, allocations: 0 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.004823, allocations: 5.281 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.0049, allocations: 23.98 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.005335, allocations: 324.1 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.005674, allocations: 81.17 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.005722, allocations: 19.69 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.005744, allocations: 7.984 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.005767, allocations: 34.39 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.005769, allocations: 3.938 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002458/0.006015, allocations: 85.19 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.006049, allocations: 59.41 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.006145, allocations: 177.9 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.006165, allocations: 29.7 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.00622, allocations: 138.8 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.006247, allocations: 23.84 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.006296, allocations: 27.38 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.006424, allocations: 0.4922 MB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.006467, allocations: 11.98 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.006501, allocations: 8.562 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.006586, allocations: 44.62 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006588, allocations: 4.562 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001412/0.00673, allocations: 78.58 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.006742, allocations: 4 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006746, allocations: 5.406 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006758, allocations: 0 / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.006856, allocations: 23.98 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.006861, allocations: 0.7188 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.00691, allocations: 7.984 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.006918, allocations: 1.875 kB / 0.525 GB, free: 13.25 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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.375e-05/0.007002, allocations: 168.5 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.007032, allocations: 7.953 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.007218, allocations: 92.77 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.00722, allocations: 0 / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007224, allocations: 0 / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.007228, allocations: 0 / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.007378, allocations: 148.5 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00738, allocations: 0 / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.007458, allocations: 15.98 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007461, allocations: 1.781 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.007472, allocations: 3.984 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007473, allocations: 7.938 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007475, allocations: 0 / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.00766, allocations: 220.8 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.007674, allocations: 11.95 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.00769, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.007764, allocations: 4.781 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.007838, allocations: 28.61 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.007844, allocations: 0 / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.0079, allocations: 145.4 kB / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0079, allocations: 0 / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002376/0.008137, allocations: 19 kB / 0.5258 GB, free: 12.34 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 9.079e-05/0.008228, allocations: 95.19 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.008378, allocations: 43.66 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.00838, allocations: 0 / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.008446, allocations: 35.67 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.008719, allocations: 30.98 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.009098, allocations: 174.6 kB / 0.5262 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.009143, allocations: 63.34 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.009198, allocations: 12.86 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.009261, allocations: 24.5 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.009262, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.004004/0.01327, allocations: 1.808 MB / 0.5281 GB, free: 10.09 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.902907478623092]