Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0006661/0.0006661, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007162/0.0007162, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8015/0.8015, allocations: 177.1 MB / 203.5 MB, free: 5.719 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-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 0.6909/0.6909, allocations: 154.5 MB / 414.5 MB, free: 0.8242 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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/3.023e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001589/0.001619, allocations: 0.7093 MB / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.002928, allocations: 1.213 MB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.002974, allocations: 3.938 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.003004, allocations: 7.875 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.00307, allocations: 11.98 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.003482, allocations: 154.5 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.003626, allocations: 111.8 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.003722, allocations: 11.98 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003826, allocations: 67.88 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.003899, allocations: 39.88 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.00392, allocations: 12 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.429e-05/0.003974, allocations: 19.98 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.003994, allocations: 8 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.004048, allocations: 39.89 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004215, allocations: 135.6 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004218, allocations: 4 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.462e-06/0.004219, allocations: 0 / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.004224, allocations: 0 / 0.6217 GB, free: 10.66 MB / 0.5886 GB 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.0004654/0.004689, allocations: 331.8 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.004725, allocations: 9.469 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.004807, allocations: 12.89 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.773e-05/0.004885, allocations: 121.6 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.0049, allocations: 8.359 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.004916, allocations: 8.375 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.005062, allocations: 70.22 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.00507, allocations: 192 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.00508, allocations: 384 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005084, allocations: 384 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.005178, allocations: 43.89 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.005533, allocations: 252.4 kB / 0.6226 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.005637, allocations: 50.55 kB / 0.6226 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.005687, allocations: 32.92 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.005706, allocations: 0 / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.005878, allocations: 95.19 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005879, allocations: 0 / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002807/0.006159, allocations: 129.6 kB / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.006196, allocations: 55.41 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.006263, allocations: 121.8 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.006278, allocations: 25.7 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.006324, allocations: 96.16 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.00634, allocations: 19.84 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.006388, allocations: 33.69 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.006467, allocations: 318.8 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.006574, allocations: 85.59 kB / 0.6236 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.006676, allocations: 105.1 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.006822, allocations: 129 kB / 0.6238 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006824, allocations: 0 / 0.6238 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002553/0.007079, allocations: 236.8 kB / 0.624 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.007107, allocations: 37.7 kB / 0.6241 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.007113, allocations: 4.469 kB / 0.6241 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007126, allocations: 3.938 kB / 0.6241 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.007191, allocations: 16.05 kB / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.007197, allocations: 3.938 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.007289, allocations: 31.95 kB / 0.6241 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.007305, allocations: 15.94 kB / 0.6241 GB, free: 7.961 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 6.785e-05/0.007372, allocations: 118.8 kB / 0.6242 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.007382, allocations: 11.89 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.00756, allocations: 114.4 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.007563, allocations: 0 / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.007567, allocations: 0 / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007571, allocations: 0 / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.007812, allocations: 314.1 kB / 0.6247 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007813, allocations: 0 / 0.6247 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.007847, allocations: 11.98 kB / 0.6247 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.007849, allocations: 0 / 0.6247 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.00786, allocations: 4 kB / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007861, allocations: 0 / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007862, allocations: 0 / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.008023, allocations: 211.3 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.008031, allocations: 7.953 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.008044, allocations: 4 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.008087, allocations: 7.984 kB / 0.6249 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.008121, allocations: 7.984 kB / 0.6249 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.008126, allocations: 0 / 0.6249 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.008163, allocations: 95.27 kB / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008163, allocations: 0 / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001841/0.008347, allocations: 27.94 kB / 0.625 GB, free: 6.973 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001356/0.008483, allocations: 95.25 kB / 0.6251 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.008722, allocations: 185 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008724, allocations: 0 / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.008787, allocations: 44.03 kB / 0.6253 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.008993, allocations: 26.19 kB / 0.6254 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.009318, allocations: 174.6 kB / 0.6255 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.009364, allocations: 71.33 kB / 0.6256 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.009388, allocations: 16.44 kB / 0.6256 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of SimCode: time 6.62e-07/0.009389, allocations: 0 / 0.6256 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of Templates: time 0.002098/0.01149, allocations: 1.231 MB / 0.6268 GB, free: 5.09 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.950793834403157] Failed to read output from testmodel.py, exit status != 0: 0.01699159573763609 0.023276228000000003 0.017498236 Calling exit ...