Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001014/0.001014, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001083/0.001083, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9491/0.9491, allocations: 177.1 MB / 203.8 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.849/0.849, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5205 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.877e-05, allocations: 4.422 kB / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001253/0.001271, allocations: 0.7453 MB / 0.5213 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.002381, allocations: 1.225 MB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.002431, allocations: 0 / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.002458, allocations: 3.938 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.002523, allocations: 12.78 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.002927, allocations: 141.1 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003066, allocations: 123.7 kB / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.003161, allocations: 16.17 kB / 0.5228 GB, free: 40 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.003277, allocations: 72.84 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.003354, allocations: 39.88 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.003375, allocations: 12 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.003433, allocations: 32.55 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.003456, allocations: 13.14 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.003504, allocations: 39.95 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.003652, allocations: 99.73 kB / 0.5231 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003653, allocations: 4.719 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003654, allocations: 0 / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003658, allocations: 1.594 kB / 0.5231 GB, free: 15.73 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004369/0.004095, allocations: 446 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.004128, allocations: 8.031 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.004231, allocations: 20.83 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.004311, allocations: 117 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.004328, allocations: 16.3 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.004343, allocations: 9.875 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.004462, allocations: 66.94 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004468, allocations: 192 / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.004478, allocations: 1.125 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004485, allocations: 4.125 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.004527, allocations: 25.02 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.004888, allocations: 311.7 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.004968, allocations: 52.2 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.004993, allocations: 19.75 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.005008, allocations: 6.406 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.365e-05/0.005101, allocations: 77.02 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.005102, allocations: 0 / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000191/0.005293, allocations: 101.6 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.005324, allocations: 59.39 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.005402, allocations: 173.9 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.005418, allocations: 31.3 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.005471, allocations: 146.8 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.005486, allocations: 11.84 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.005534, allocations: 43.36 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.005642, allocations: 0.4928 MB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.005713, allocations: 61.67 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.005794, allocations: 116.8 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.005901, allocations: 133.5 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005903, allocations: 4 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002076/0.006111, allocations: 215.4 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.006138, allocations: 41.69 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.006145, allocations: 4 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006158, allocations: 0 / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.006228, allocations: 21.06 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.006234, allocations: 3.984 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.006319, allocations: 28.56 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.006332, allocations: 8 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.33e-05/0.006405, allocations: 169.8 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.006418, allocations: 15.89 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.006538, allocations: 91.66 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00654, allocations: 0 / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.006543, allocations: 0 / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006546, allocations: 4.594 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.006737, allocations: 349.3 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006738, allocations: 2.75 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.006765, allocations: 8 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006767, allocations: 48 / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.006775, allocations: 7.969 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006776, allocations: 0 / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006777, allocations: 0 / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.006898, allocations: 243.8 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.006906, allocations: 6.953 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.006917, allocations: 4 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.006952, allocations: 4 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.006987, allocations: 7.984 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.006993, allocations: 4 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.007031, allocations: 131.2 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007031, allocations: 4 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000171/0.007202, allocations: 20 kB / 0.5268 GB, free: 11.5 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.815e-05/0.0073, allocations: 104.7 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.007491, allocations: 171.9 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007492, allocations: 0 / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.007528, allocations: 31.61 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.007712, allocations: 19.92 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.008166, allocations: 184.7 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.008206, allocations: 63.34 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.008232, allocations: 4 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.008257, allocations: 12.5 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.008257, allocations: 0 / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.003223/0.01148, allocations: 1.563 MB / 0.5289 GB, free: 9.387 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8977680588141084]