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.0008717/0.0008717, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008684/0.0008684, allocations: 169 kB / 23.27 MB, free: 1.223 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.9305/0.9305, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7479/0.7479, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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 2.174e-06/2.174e-06, allocations: 0 / 0.5208 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.841e-05, allocations: 4 kB / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001864/0.001892, allocations: 0.6573 MB / 0.5214 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.0033, allocations: 1.113 MB / 0.5225 GB, free: 164 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.003351, allocations: 0.9688 kB / 0.5225 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.003384, allocations: 3.938 kB / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.003461, allocations: 12.94 kB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.003743, allocations: 51.7 kB / 0.5225 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.003828, allocations: 39.86 kB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.003911, allocations: 12.98 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.003999, allocations: 23.98 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.004045, allocations: 16.94 kB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.00408, allocations: 7.984 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.004147, allocations: 19.94 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.00417, allocations: 16.91 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.004194, allocations: 8 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.004314, allocations: 56.56 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.00432, allocations: 0 / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004321, allocations: 0 / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.004325, allocations: 0.5 kB / 0.5227 GB, free: 15.9 MB / 0.4948 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.0003991/0.004724, allocations: 385.4 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.004763, allocations: 12.02 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.004856, allocations: 10.11 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.004935, allocations: 112.6 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.00495, allocations: 8.375 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.004959, allocations: 0.875 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.005083, allocations: 64.72 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005092, allocations: 192 / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.005099, allocations: 4.375 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005105, allocations: 4.312 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.005137, allocations: 15.86 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.005495, allocations: 258.1 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.005572, allocations: 47.11 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.005592, allocations: 11.69 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.005611, allocations: 1.562 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.635e-05/0.005698, allocations: 69.11 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.0057, allocations: 4 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001606/0.00586, allocations: 66.33 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.005894, allocations: 55.41 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.005979, allocations: 171.4 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.005994, allocations: 29.7 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.006051, allocations: 138.8 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.006071, allocations: 19.78 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.006115, allocations: 32.7 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.006241, allocations: 496.1 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.006263, allocations: 4 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.006313, allocations: 59.19 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.006387, allocations: 61.5 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006389, allocations: 4 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001273/0.006516, allocations: 81.5 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.00653, allocations: 4.562 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.006537, allocations: 8.5 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006549, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.00664, allocations: 16.67 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.006645, allocations: 7.938 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.006683, allocations: 4.906 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.00669, allocations: 0 / 0.5249 GB, free: 13.45 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.686e-05/0.006767, allocations: 163.6 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.006783, allocations: 11.94 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.006907, allocations: 68.97 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.006912, allocations: 4 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006913, allocations: 0 / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006916, allocations: 0 / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.007162, allocations: 302 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007164, allocations: 4 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.007212, allocations: 11.92 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.007217, allocations: 7.922 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007223, allocations: 3.125 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007225, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.007228, allocations: 4 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.007364, allocations: 215.8 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007374, allocations: 7.984 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.00739, allocations: 3.938 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.007453, allocations: 0 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.007482, allocations: 8.703 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.007488, allocations: 4 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.007531, allocations: 124.3 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.007531, allocations: 0 / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002392/0.007771, allocations: 12 kB / 0.5258 GB, free: 12.45 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.000128/0.007898, allocations: 100.2 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.008001, allocations: 49.16 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008003, allocations: 0 / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.008043, allocations: 26.05 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.008292, allocations: 12 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.008864, allocations: 150 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.008902, allocations: 61.97 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.00893, allocations: 4 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.008995, allocations: 78.19 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.008996, allocations: 0 / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.003153/0.01215, allocations: 0.9132 MB / 0.5272 GB, free: 11.06 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: 3.3207703582011163]