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.001313/0.001313, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.000991/0.000991, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.8915/0.8915, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.76/0.76, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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 1.392e-06/1.392e-06, allocations: 0 / 0.5215 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.54e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00151/0.001525, allocations: 0.6582 MB / 0.5222 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.002939, allocations: 1.112 MB / 0.5232 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.002984, allocations: 1.688 kB / 0.5232 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.003008, allocations: 3.938 kB / 0.5233 GB, free: 100 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.003065, allocations: 4 kB / 0.5233 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.003267, allocations: 43.77 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.003354, allocations: 48.47 kB / 0.5233 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.003442, allocations: 13.09 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.003514, allocations: 27.86 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.003554, allocations: 15.98 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.00357, allocations: 5.344 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.003636, allocations: 23.97 kB / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.003656, allocations: 11.94 kB / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.00368, allocations: 11.98 kB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003791, allocations: 52.53 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003793, allocations: 4 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003794, allocations: 1.312 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.003797, allocations: 0 / 0.5235 GB, free: 15.84 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.000351/0.004148, allocations: 384.5 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.004177, allocations: 10.62 kB / 0.5239 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.00426, allocations: 8.891 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.004339, allocations: 116.5 kB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004351, allocations: 4.375 kB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004361, allocations: 8.359 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.00447, allocations: 70.86 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004478, allocations: 0.6875 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.004484, allocations: 384 / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.004493, allocations: 9.781 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.004521, allocations: 7.938 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.004846, allocations: 261.4 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/0.00492, allocations: 43 kB / 0.5244 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.004943, allocations: 20.58 kB / 0.5244 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.004955, allocations: 0 / 0.5244 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.005029, allocations: 61.17 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.00503, allocations: 0.9375 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001537/0.005184, allocations: 77.5 kB / 0.5245 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.005218, allocations: 56.06 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.005303, allocations: 169.9 kB / 0.5248 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.005319, allocations: 30.33 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.005369, allocations: 128.1 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.005394, allocations: 23.83 kB / 0.5249 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.00544, allocations: 31.36 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.005565, allocations: 496.1 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.005581, allocations: 8.609 kB / 0.5254 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.005616, allocations: 56.17 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.613e-05/0.005683, allocations: 67.98 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005685, allocations: 0 / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001266/0.005811, allocations: 82.86 kB / 0.5256 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.005823, allocations: 4 kB / 0.5256 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.00583, allocations: 7.922 kB / 0.5256 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.005839, allocations: 4.562 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.005927, allocations: 15.94 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.00593, allocations: 1.719 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.005975, allocations: 7.984 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.005983, allocations: 4 kB / 0.5257 GB, free: 13.38 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 8.109e-05/0.006064, allocations: 164.5 kB / 0.5258 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.00608, allocations: 7.953 kB / 0.5258 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.006192, allocations: 73.98 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.006194, allocations: 0 / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006196, allocations: 0 / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.0062, allocations: 4 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.00644, allocations: 294.4 kB / 0.5262 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.006442, allocations: 6.75 kB / 0.5262 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.006486, allocations: 11.94 kB / 0.5262 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.006489, allocations: 3.938 kB / 0.5262 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006496, allocations: 3.984 kB / 0.5262 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006497, allocations: 0 / 0.5262 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006498, allocations: 3.938 kB / 0.5262 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.006638, allocations: 211.9 kB / 0.5264 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006646, allocations: 1.406 kB / 0.5264 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.006663, allocations: 7.938 kB / 0.5264 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.006728, allocations: 3.984 kB / 0.5264 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.006758, allocations: 4.938 kB / 0.5264 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.006764, allocations: 4 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.006812, allocations: 131.2 kB / 0.5266 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006812, allocations: 0.8125 kB / 0.5266 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002851/0.007097, allocations: 12 kB / 0.5266 GB, free: 12.39 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.0001072/0.007204, allocations: 109.2 kB / 0.5267 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.699e-05/0.007301, allocations: 39.61 kB / 0.5267 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.007302, allocations: 0.6562 kB / 0.5267 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.007334, allocations: 15.69 kB / 0.5267 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.0076, allocations: 14.36 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.007989, allocations: 159.6 kB / 0.5269 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.008025, allocations: 57.98 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.008051, allocations: 7.984 kB / 0.527 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.008112, allocations: 74.2 kB / 0.527 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.008113, allocations: 3.938 kB / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.002039/0.01015, allocations: 0.9272 MB / 0.528 GB, free: 10.98 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.291081721894443]