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.000929/0.000929, 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.0009861/0.0009861, 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 0.9809/0.9809, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7766/0.7766, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.256e-06/3.256e-06, allocations: 0 / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.271e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001576/0.001609, allocations: 0.6664 MB / 0.521 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.00287, allocations: 1.112 MB / 0.522 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.002947, allocations: 0.5 kB / 0.522 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.002986, allocations: 4.875 kB / 0.5221 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.003087, allocations: 11.88 kB / 0.5221 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.003514, allocations: 44.48 kB / 0.5221 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.003646, allocations: 39.86 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.003798, allocations: 12.95 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003911, allocations: 27.91 kB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.00397, allocations: 19.97 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.003993, allocations: 4.969 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.004078, allocations: 19.94 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.004111, allocations: 20.72 kB / 0.5222 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.004154, allocations: 8 kB / 0.5223 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.004347, allocations: 56.77 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.004354, allocations: 0 / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.004357, allocations: 0 / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.004365, allocations: 1.75 kB / 0.5223 GB, free: 0.5156 MB / 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.0006437/0.005009, allocations: 384.5 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.005068, allocations: 8.031 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.00523, allocations: 8.891 kB / 0.5227 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.005382, allocations: 113.6 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.005406, allocations: 8.375 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.005421, allocations: 4.312 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.005635, allocations: 68.16 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.005646, allocations: 192 / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.005663, allocations: 4.359 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.005676, allocations: 1 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/0.005726, allocations: 15.92 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.006236, allocations: 277.3 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.006342, allocations: 43 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.006374, allocations: 24.92 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.006397, allocations: 0 / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.006507, allocations: 65 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.006509, allocations: 0.8125 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000236/0.006745, allocations: 77.56 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.006792, allocations: 52.66 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006897, allocations: 173.9 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006911, allocations: 29.7 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.006966, allocations: 127.6 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.006988, allocations: 19.84 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.007034, allocations: 31.98 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.007164, allocations: 0.4884 MB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.007192, allocations: 4.969 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.007247, allocations: 58.42 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.007326, allocations: 68.22 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.007329, allocations: 3.156 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001313/0.00746, allocations: 85.5 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.007479, allocations: 7.938 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.007488, allocations: 4 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.007504, allocations: 0 / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.00761, allocations: 15.94 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.007619, allocations: 9.234 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.007648, allocations: 4 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.007658, allocations: 4.5 kB / 0.5245 GB, free: 14.02 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.832e-05/0.007736, allocations: 158.3 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.007754, allocations: 19.88 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.007892, allocations: 74.05 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.007894, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007899, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.007904, allocations: 1.469 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.008238, allocations: 321.4 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.008241, allocations: 4.375 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.008293, allocations: 14.67 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.008297, allocations: 4 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008306, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.008308, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.008311, allocations: 3.984 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.008478, allocations: 219.8 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.008489, allocations: 7.984 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.00851, allocations: 0 / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.008553, allocations: 6.188 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.0086, allocations: 3.984 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.008609, allocations: 7.938 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.008662, allocations: 127.2 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008662, allocations: 3.938 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001704/0.008832, allocations: 15.98 kB / 0.5255 GB, free: 12.98 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.0001556/0.008988, allocations: 101.1 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.009108, allocations: 44.42 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.00911, allocations: 0 / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.009145, allocations: 20.33 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.009368, allocations: 19.34 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.009903, allocations: 146.1 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.009945, allocations: 63.28 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.00997, allocations: 4 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.009998, allocations: 16.5 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.009999, allocations: 3 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.003108/0.01311, allocations: 0.8412 MB / 0.5267 GB, free: 11.73 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.8048936889972538]