Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001065/0.001065, allocations: 88.33 kB / 19.64 MB, free: 304 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.001024/0.001024, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.9912/0.9912, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8833/0.8833, allocations: 154.6 MB / 414.5 MB, free: 0.6523 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.5203 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.342e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001469/0.001502, allocations: 0.6574 MB / 0.5209 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.002713, allocations: 1.116 MB / 0.522 GB, free: 332 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.002761, allocations: 5.125 kB / 0.522 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.002793, allocations: 3.938 kB / 0.522 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.002862, allocations: 9.219 kB / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.003196, allocations: 43.83 kB / 0.5221 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.003283, allocations: 47.84 kB / 0.5221 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.003374, allocations: 4 kB / 0.5221 GB, free: 220 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.003456, allocations: 32.73 kB / 0.5222 GB, free: 188 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.0035, allocations: 15.92 kB / 0.5222 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003516, allocations: 9.344 kB / 0.5222 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.00358, allocations: 23.98 kB / 0.5222 GB, free: 140 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.003599, allocations: 7.984 kB / 0.5222 GB, free: 132 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.003633, allocations: 15.92 kB / 0.5222 GB, free: 116 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003759, allocations: 50.38 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003761, allocations: 0 / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003762, allocations: 0 / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003766, allocations: 0 / 0.5223 GB, free: 68 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.00044/0.004206, allocations: 384.5 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.004245, allocations: 8.031 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.004351, allocations: 21.31 kB / 0.5227 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.573e-05/0.004447, allocations: 110 kB / 0.5228 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004461, allocations: 8.312 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.004476, allocations: 8.375 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004613, allocations: 62.94 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.004624, allocations: 1.156 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004634, allocations: 384 / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.004643, allocations: 1.344 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.004683, allocations: 23.89 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.005067, allocations: 272.7 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.005156, allocations: 46.98 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.005181, allocations: 16.53 kB / 0.5232 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.005203, allocations: 4 kB / 0.5232 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.867e-05/0.005282, allocations: 65.55 kB / 0.5233 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.005283, allocations: 1.219 kB / 0.5233 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001852/0.005469, allocations: 77.58 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.005504, allocations: 55.41 kB / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.005589, allocations: 166.5 kB / 0.5236 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.005603, allocations: 29.7 kB / 0.5236 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.00565, allocations: 136.7 kB / 0.5237 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.00567, allocations: 15.84 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.005706, allocations: 31.36 kB / 0.5238 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.00582, allocations: 496.1 kB / 0.5242 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.005845, allocations: 9.656 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-05/0.005889, allocations: 54.42 kB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.005963, allocations: 75.67 kB / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005965, allocations: 0 / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001065/0.006072, allocations: 78.86 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.006088, allocations: 15.91 kB / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.006093, allocations: 0 / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.00611, allocations: 0 / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.006199, allocations: 23.92 kB / 0.5245 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.006204, allocations: 0 / 0.5245 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.006234, allocations: 10.33 kB / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.00625, allocations: 7.984 kB / 0.5245 GB, free: 13.56 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.292e-05/0.006323, allocations: 162.4 kB / 0.5247 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.006334, allocations: 15.83 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.006458, allocations: 74.05 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006459, allocations: 2.75 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.006463, allocations: 4 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006466, allocations: 0 / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.006698, allocations: 325.4 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0067, allocations: 0 / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.006734, allocations: 4 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006736, allocations: 0 / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.006747, allocations: 9.297 kB / 0.5251 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.006749, allocations: 384 / 0.5251 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006751, allocations: 0 / 0.5251 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.00687, allocations: 219.8 kB / 0.5253 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.006877, allocations: 0.9375 kB / 0.5253 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.006895, allocations: 8 kB / 0.5253 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.00693, allocations: 4.922 kB / 0.5253 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.006968, allocations: 4 kB / 0.5253 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.006973, allocations: 3.938 kB / 0.5253 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.007015, allocations: 132.1 kB / 0.5254 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007015, allocations: 0 / 0.5254 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000173/0.007188, allocations: 13.94 kB / 0.5254 GB, free: 12.53 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.0001241/0.007313, allocations: 99.23 kB / 0.5255 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.007425, allocations: 44.27 kB / 0.5256 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.007426, allocations: 0 / 0.5256 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.007458, allocations: 20.34 kB / 0.5256 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.007655, allocations: 19.31 kB / 0.5256 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.008139, allocations: 155 kB / 0.5258 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.008178, allocations: 57.89 kB / 0.5258 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.008202, allocations: 7.984 kB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.008228, allocations: 8.5 kB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.008229, allocations: 0 / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.002861/0.01109, allocations: 0.84 MB / 0.5267 GB, free: 11.28 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.019103597383946]