Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.001441/0.001441, allocations: 88.72 kB / 19.44 MB, free: 356 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.001734/0.001734, allocations: 157.7 kB / 22.76 MB, free: 1.68 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.536/1.536, allocations: 177.2 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.259/1.259, allocations: 154.6 MB / 414.2 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 178] 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.5196 GB, free: 2.609 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.566e-05/4.811e-05, allocations: 3.859 kB / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.004271/0.004319, allocations: 1.434 MB / 0.521 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.005593, allocations: 438 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.005656, allocations: 4 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.005697, allocations: 3.938 kB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.00584, allocations: 13.48 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.006083, allocations: 15.98 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.006275, allocations: 51.78 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.00642, allocations: 19.86 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.006565, allocations: 24.48 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.006678, allocations: 16.95 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.006711, allocations: 4 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.006729, allocations: 4 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.006784, allocations: 13.03 kB / 0.5216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.006848, allocations: 12 kB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.007053, allocations: 47.86 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007056, allocations: 0.6875 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007058, allocations: 1.031 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.007065, allocations: 0 / 0.5216 GB, free: 0.5273 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.0009151/0.00798, allocations: 317.5 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.008042, allocations: 8.031 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.008117, allocations: 8.891 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.008297, allocations: 114.8 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.008318, allocations: 4.375 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.008338, allocations: 8.359 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.008546, allocations: 76.64 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.008558, allocations: 192 / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.008572, allocations: 1.656 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.008582, allocations: 3.938 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.008691, allocations: 45.69 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.009208, allocations: 221.7 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.009342, allocations: 64.27 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.009414, allocations: 50.67 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.009442, allocations: 4.781 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.009762, allocations: 135.6 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.009763, allocations: 0 / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000554/0.01032, allocations: 214.6 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.0104, allocations: 83.77 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.01054, allocations: 113.8 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.01058, allocations: 33.7 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.01066, allocations: 80.14 kB / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.01071, allocations: 27.78 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.01078, allocations: 25.72 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.01096, allocations: 318.8 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.01103, allocations: 42.3 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.01111, allocations: 64.89 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.01127, allocations: 124.6 kB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01127, allocations: 0 / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002512/0.01152, allocations: 157 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.01157, allocations: 37.69 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01158, allocations: 0 / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.0116, allocations: 0 / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.01166, allocations: 7.031 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01166, allocations: 0 / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.01174, allocations: 15.94 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01175, allocations: 0 / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$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): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001538/0.01191, allocations: 147.5 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.01194, allocations: 15.94 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.01197, allocations: 8.422 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.01198, allocations: 5.5 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01199, allocations: 0 / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01199, allocations: 0 / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.01251, allocations: 373.5 kB / 0.5244 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01251, allocations: 0.5 kB / 0.5244 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.01252, allocations: 5.016 kB / 0.5244 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.01253, allocations: 0 / 0.5244 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01254, allocations: 8 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01255, allocations: 0.9375 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01255, allocations: 3.938 kB / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01287, allocations: 267.8 kB / 0.5247 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.0129, allocations: 11.89 kB / 0.5247 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01292, allocations: 7.172 kB / 0.5247 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01303, allocations: 8 kB / 0.5247 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.01309, allocations: 12.05 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.01311, allocations: 4 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.01318, allocations: 91.27 kB / 0.5248 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01318, allocations: 0 / 0.5248 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002572/0.01344, allocations: 12 kB / 0.5249 GB, free: 12.83 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001403/0.01358, allocations: 101.7 kB / 0.525 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01384, allocations: 166.7 kB / 0.5251 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01384, allocations: 0 / 0.5251 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01398, allocations: 113 kB / 0.5252 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.0143, allocations: 20 kB / 0.5252 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.0148, allocations: 194 kB / 0.5254 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.01489, allocations: 73.17 kB / 0.5255 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01493, allocations: 4 kB / 0.5255 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.01497, allocations: 13.62 kB / 0.5255 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01497, allocations: 0 / 0.5255 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.004585/0.01956, allocations: 0.9336 MB / 0.5264 GB, free: 11.19 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.15837247192394]