Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002645/0.0002645, allocations: 0 / 0, free: 0 / 0 " [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.0002152/0.0002152, allocations: 0 / 0, free: 0 / 0 " [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.1307/0.1307, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.1336/0.1336, allocations: 0 / 0, free: 0 / 0 [/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 180] 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: simulate(IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.51e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.004687/0.004702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002515/0.007217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.007328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.839e-05/0.007407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.003221/0.01063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000794/0.01142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0005567/0.01198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.01212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.01273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.01309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.01319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.01333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.003286/0.01662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000463/0.01708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.548e-05/0.01714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.793e-06/0.01715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.098e-06/0.01715, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001309/0.01846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.01853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.0187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.01913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.01922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.01934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/0.02287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.02288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.02293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.02294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.02311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.02434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.02471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.02487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.02488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003668/0.02855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=102): time 8.336e-06/0.02856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=102): time 0.0009746/0.02953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.02958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.02971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000147/0.02986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.02994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.0301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.03037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.332e-05/0.03041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.03061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.03091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.03446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.03447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=156) (initialization): time 0.0009623/0.03543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.03549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.03551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.03554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.03584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.232e-05/0.03589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.03637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/0.03646, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$PRE.onDelay0.t_next,$whenCondition50,$PRE.onDelay1.t_next,$whenCondition47,$PRE.onDelay2.t_next,$whenCondition44,$PRE.onDelay4.t_next,$whenCondition41,$PRE.onDelay5.t_next,$whenCondition38,$PRE.onDelay6.t_next,$whenCondition35,$PRE.onDelay3.t_next,$whenCondition32,$PRE.onDelay7.t_next,$whenCondition29,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,booPul.y,$PRE.booPul.y,onDelay7.y,onDelay7.u,onDelay3.y,onDelay3.u,onDelay6.y,onDelay6.u,onDelay5.y,onDelay5.u,onDelay4.y,onDelay4.u,onDelay2.y,onDelay2.u,onDelay1.y,onDelay1.u,onDelay0.y,onDelay0.u,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33,$whenCondition37,$whenCondition36,$whenCondition40,$whenCondition39,$whenCondition43,$whenCondition42,$whenCondition46,$whenCondition45,$whenCondition49,$whenCondition48,$whenCondition52,$whenCondition51,$PRE.onDelay00.t_next,$whenCondition24,$PRE.onDelay11.t_next,$whenCondition21,$PRE.onDelay22.t_next,$whenCondition18,$PRE.onDelay44.t_next,$whenCondition15,$PRE.onDelay55.t_next,$whenCondition12,$PRE.onDelay66.t_next,$whenCondition9,$PRE.onDelay33.t_next,$whenCondition6,$PRE.onDelay77.t_next,$whenCondition3,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,booPul1.y,$PRE.booPul1.y,onDelay77.u,onDelay33.u,onDelay66.u,onDelay55.u,onDelay44.y,onDelay44.u,onDelay22.u,onDelay11.u,onDelay00.y,onDelay00.u,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25,onDelay55.t_next,onDelay55.y,onDelay66.t_next,onDelay66.y,onDelay33.t_next,onDelay33.y,onDelay77.t_next,onDelay77.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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.0003276/0.03679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.03692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.322e-05/0.037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.03701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.03702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.03703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.04165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.04166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.04172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.04173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.0418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.04254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.04261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.04279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.04306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.04325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.142e-05/0.04334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.109e-05/0.0434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.672e-06/0.04341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001029/0.04443, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 102 (onDelay77.u,onDelay55.u,onDelay66.u,onDelay33.u,onDelay11.u,onDelay22.u,onDelay00.u,onDelay44.u,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.y,onDelay7.u,onDelay5.u,onDelay6.u,onDelay3.u,onDelay1.u,onDelay2.u,onDelay0.u,onDelay4.u,$whenCondition50,$whenCondition51,$whenCondition52,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.y) * Number of discrete states: 16 (onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0003626/0.0448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0007746/0.04557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.04591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.04667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.04766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.04798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001462/0.04813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.04839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.278e-05/0.04842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001491/0.04992, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9244716530665755]