Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001037/0.001037, allocations: 72.45 kB / 19.9 MB, free: 16 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.001267/0.001267, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8804/0.8804, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6797/0.6797, allocations: 155 MB / 415 MB, free: 0.4961 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008368/0.0008368, allocations: 71.89 kB / 0.6199 GB, free: 12.77 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4169, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001278/0.4182, allocations: 0.6543 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.419, allocations: 1.087 MB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.419, allocations: 1.125 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.4191, allocations: 4.594 kB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.4191, allocations: 9.547 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.4194, allocations: 43.23 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.4195, allocations: 51.95 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.4196, allocations: 10.53 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.4196, allocations: 26.36 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.4197, allocations: 24.12 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4197, allocations: 3.375 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.569e-05/0.4197, allocations: 23.91 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.4198, allocations: 8.078 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.4198, allocations: 14.66 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.4199, allocations: 71.69 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4199, allocations: 4.703 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4199, allocations: 3.938 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.4199, allocations: 1 kB / 0.7215 GB, free: 22.12 MB / 0.6355 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.0003816/0.4203, allocations: 295.2 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4203, allocations: 10.91 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.4204, allocations: 5.156 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.038e-05/0.4205, allocations: 115.5 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4205, allocations: 5.469 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.4205, allocations: 3.812 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4206, allocations: 74.77 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.4206, allocations: 192 / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4207, allocations: 4.688 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4207, allocations: 1.094 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.4208, allocations: 40.94 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.4211, allocations: 227.9 kB / 0.7222 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4212, allocations: 57.02 kB / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.4212, allocations: 31.7 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4212, allocations: 1.719 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.4214, allocations: 71.72 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.4214, allocations: 0 / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002587/0.4216, allocations: 116.5 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4216, allocations: 54.06 kB / 0.7225 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.4217, allocations: 115.3 kB / 0.7226 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.4217, allocations: 26.98 kB / 0.7227 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.4217, allocations: 90.83 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.4217, allocations: 16.86 kB / 0.7228 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.4218, allocations: 26.58 kB / 0.7228 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.007e-05/0.4218, allocations: 315.7 kB / 0.7231 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.4219, allocations: 23.44 kB / 0.7231 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.4219, allocations: 62.36 kB / 0.7232 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.422, allocations: 88.33 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.422, allocations: 1.219 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001439/0.4222, allocations: 118 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4222, allocations: 6.047 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4222, allocations: 1.062 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4222, allocations: 2.188 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.4223, allocations: 19.09 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4223, allocations: 2.344 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.4223, allocations: 15.95 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.4223, allocations: 7.438 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 4.204e-05/0.4224, allocations: 120 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.4224, allocations: 7.375 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.4225, allocations: 103.9 kB / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4225, allocations: 2.156 kB / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4225, allocations: 0 / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4225, allocations: 0 / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.4227, allocations: 301.7 kB / 0.7239 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4227, allocations: 0 / 0.7239 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.4228, allocations: 17.25 kB / 0.7239 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4228, allocations: 5.062 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4228, allocations: 1.547 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.4228, allocations: 0 / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4228, allocations: 0.9062 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.4229, allocations: 192.1 kB / 0.7241 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.4229, allocations: 7.047 kB / 0.7241 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.4229, allocations: 1.188 kB / 0.7241 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.423, allocations: 14.03 kB / 0.7242 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.423, allocations: 5.281 kB / 0.7242 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.423, allocations: 2.188 kB / 0.7242 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.423, allocations: 87.91 kB / 0.7242 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.423, allocations: 0 / 0.7242 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001634/0.4232, allocations: 10.09 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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 8.727e-05/0.4233, allocations: 101.7 kB / 0.7243 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4235, allocations: 74.78 kB / 0.7244 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4235, allocations: 3.938 kB / 0.7244 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/0.4235, allocations: 27.91 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.4237, allocations: 12.72 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.4239, allocations: 162.4 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.424, allocations: 67.19 kB / 0.7247 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.424, allocations: 11.28 kB / 0.7247 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.424, allocations: 4 kB / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.001876/0.4259, allocations: 0.9035 MB / 0.7256 GB, free: 19.29 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.267769580008462] Failed to read output from testmodel.py, exit status != 0: 0.4308785479515791 0.43921823800000004 0.017630244 Calling exit ...