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.001567/0.001567, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001748/0.001748, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.111/1.111, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8094/0.8094, allocations: 154.8 MB / 415.1 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: Performance of FrontEnd - loaded program: time 3.646e-06/3.646e-06, allocations: 0 / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.837e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002165/0.002204, allocations: 0.6616 MB / 0.5212 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.003889, allocations: 1.117 MB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.003952, allocations: 0 / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.003991, allocations: 5.219 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.004064, allocations: 4 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.004384, allocations: 43.7 kB / 0.5223 GB, free: 456 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.004482, allocations: 56.45 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004583, allocations: 4.969 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.004672, allocations: 27.97 kB / 0.5224 GB, free: 368 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.004715, allocations: 15.92 kB / 0.5224 GB, free: 352 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004731, allocations: 4.5 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.004795, allocations: 24.72 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.004815, allocations: 8 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.004848, allocations: 17.98 kB / 0.5225 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004987, allocations: 55.8 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.004992, allocations: 0 / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.004994, allocations: 0 / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.005, allocations: 0 / 0.5226 GB, free: 244 kB / 490.7 MB 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.0004789/0.005479, allocations: 384.5 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.00552, allocations: 9.188 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.005636, allocations: 12.89 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.005735, allocations: 116.5 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.005749, allocations: 5.844 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.005759, allocations: 4.312 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.005899, allocations: 62.94 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005907, allocations: 5 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005918, allocations: 4.312 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.005926, allocations: 1.344 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.005966, allocations: 15.94 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.006365, allocations: 276.7 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006465, allocations: 43.05 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.006493, allocations: 12.19 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.006514, allocations: 4.969 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.006621, allocations: 69.11 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 3.407e-06/0.006624, allocations: 0.9375 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002185/0.006843, allocations: 69.64 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.006893, allocations: 55.41 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.006992, allocations: 174.7 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.007006, allocations: 25.7 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.007062, allocations: 135.6 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.007084, allocations: 21.14 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.007123, allocations: 31.38 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.007252, allocations: 496.1 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.007278, allocations: 8 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.007328, allocations: 60.17 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.003e-05/0.007408, allocations: 68.12 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007411, allocations: 256 / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000115/0.007526, allocations: 86.25 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007541, allocations: 7.938 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.007547, allocations: 9.406 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.007561, allocations: 0 / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.007649, allocations: 19.98 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.007658, allocations: 13.03 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.007685, allocations: 4 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.007692, allocations: 0 / 0.5248 GB, free: 13.74 MB / 0.4948 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 7.634e-05/0.007768, allocations: 161.5 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.007781, allocations: 15.88 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.007896, allocations: 73.38 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.007898, allocations: 0 / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.007902, allocations: 7.922 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.007907, allocations: 7.922 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.008128, allocations: 313.4 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00813, allocations: 4 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.008158, allocations: 8 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.00816, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.008167, allocations: 3.031 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008168, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008169, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.008284, allocations: 223.8 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.008291, allocations: 4 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.008308, allocations: 0 / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.008341, allocations: 4.188 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.008383, allocations: 7.984 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.00839, allocations: 9.5 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001514/0.008541, allocations: 127.2 kB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008541, allocations: 0 / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001729/0.008714, allocations: 16 kB / 0.5257 GB, free: 12.7 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: 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 0.0001411/0.008855, allocations: 96.66 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.008965, allocations: 44.88 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008967, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.449e-05/0.009001, allocations: 23.62 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.009211, allocations: 16.58 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.009707, allocations: 151.2 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.009743, allocations: 60.14 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.009771, allocations: 7.984 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.009798, allocations: 12.5 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.009799, allocations: 0 / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.002932/0.01273, allocations: 0.8433 MB / 0.5269 GB, free: 11.45 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9744750880636275]