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.001307/0.001307, 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.00097/0.00097, allocations: 177 kB / 23.49 MB, free: 1.055 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.093/1.093, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.7675/0.7675, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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.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.024e-06/2.024e-06, allocations: 0 / 0.5203 GB, free: 1.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.1e-05/4.302e-05, allocations: 3.312 kB / 0.5203 GB, free: 1.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00228/0.002323, allocations: 1.47 MB / 0.5217 GB, free: 40 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.003116, allocations: 464.6 kB / 0.5222 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.003171, allocations: 0.75 kB / 0.5222 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.003205, allocations: 3.938 kB / 0.5222 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.003301, allocations: 9.344 kB / 0.5222 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.003503, allocations: 19.91 kB / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003647, allocations: 51.84 kB / 0.5223 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003769, allocations: 9.188 kB / 0.5223 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.00388, allocations: 31.84 kB / 0.5223 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.003966, allocations: 19.92 kB / 0.5223 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.003993, allocations: 6 kB / 0.5223 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.004005, allocations: 4 kB / 0.5223 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.004037, allocations: 7.984 kB / 0.5223 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.004089, allocations: 15.98 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.00423, allocations: 31.89 kB / 0.5224 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.004234, allocations: 6 kB / 0.5224 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.004236, allocations: 0 / 0.5224 GB, free: 15.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.004243, allocations: 0 / 0.5224 GB, free: 15.38 MB / 458.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.000624/0.004867, allocations: 414.2 kB / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.004909, allocations: 12.59 kB / 0.5228 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.004961, allocations: 9.891 kB / 0.5228 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.005075, allocations: 108.6 kB / 0.5229 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.00509, allocations: 384 / 0.5229 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.005105, allocations: 17.11 kB / 0.5229 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.005232, allocations: 75.94 kB / 0.523 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.00524, allocations: 1.25 kB / 0.523 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005251, allocations: 384 / 0.523 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.005262, allocations: 3.938 kB / 0.523 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.00531, allocations: 42.72 kB / 0.523 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.005719, allocations: 267.7 kB / 0.5233 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.00581, allocations: 74.22 kB / 0.5234 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.005846, allocations: 41.39 kB / 0.5234 GB, free: 14.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.005866, allocations: 3.984 kB / 0.5234 GB, free: 14.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.006019, allocations: 136.6 kB / 0.5235 GB, free: 14.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.006021, allocations: 1.031 kB / 0.5235 GB, free: 14.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004001/0.006421, allocations: 194.9 kB / 0.5237 GB, free: 13.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.006476, allocations: 77.8 kB / 0.5238 GB, free: 13.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006579, allocations: 178 kB / 0.524 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006591, allocations: 26.98 kB / 0.524 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.006647, allocations: 130.9 kB / 0.5241 GB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.006667, allocations: 19.83 kB / 0.5241 GB, free: 13.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.006709, allocations: 39.36 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.006838, allocations: 0.4892 MB / 0.5246 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.006873, allocations: 33.7 kB / 0.5247 GB, free: 12.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.006927, allocations: 81.38 kB / 0.5248 GB, free: 12.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.007015, allocations: 111.2 kB / 0.5249 GB, free: 12.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007017, allocations: 0.8438 kB / 0.5249 GB, free: 12.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001427/0.00716, allocations: 155.2 kB / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.007197, allocations: 41.62 kB / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007202, allocations: 0 / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.007217, allocations: 0 / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.007273, allocations: 4 kB / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.007279, allocations: 0 / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.007333, allocations: 12.92 kB / 0.5251 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.007338, allocations: 4 kB / 0.5251 GB, free: 12.29 MB / 458.7 MB 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 9.654e-05/0.007435, allocations: 195.6 kB / 0.5253 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.855e-05/0.007454, allocations: 11.94 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.00748, allocations: 8.438 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007483, allocations: 0 / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.007487, allocations: 0.6875 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.007493, allocations: 11.92 kB / 0.5253 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.007829, allocations: 418.2 kB / 0.5257 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.007831, allocations: 3.938 kB / 0.5257 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/0.007838, allocations: 4 kB / 0.5257 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.007841, allocations: 0 / 0.5257 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007852, allocations: 4.594 kB / 0.5257 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007853, allocations: 0.9062 kB / 0.5257 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.007856, allocations: 3.984 kB / 0.5257 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.008032, allocations: 307.2 kB / 0.526 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.008045, allocations: 8.547 kB / 0.526 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.008066, allocations: 0.625 kB / 0.526 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.00813, allocations: 16.67 kB / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.008179, allocations: 7.984 kB / 0.526 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.008195, allocations: 4.812 kB / 0.526 GB, free: 11.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.008245, allocations: 127.2 kB / 0.5262 GB, free: 11.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008245, allocations: 1 kB / 0.5262 GB, free: 11.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.008408, allocations: 19.94 kB / 0.5262 GB, free: 11.07 MB / 458.7 MB 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.0001068/0.008515, allocations: 108.8 kB / 0.5263 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.008691, allocations: 166.4 kB / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008693, allocations: 0 / 0.5264 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.008761, allocations: 112.8 kB / 0.5265 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.008999, allocations: 22.33 kB / 0.5266 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.009336, allocations: 190.3 kB / 0.5268 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.00938, allocations: 63.34 kB / 0.5268 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.803e-05/0.009408, allocations: 4 kB / 0.5268 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.00944, allocations: 12.5 kB / 0.5268 GB, free: 10.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/0.009442, allocations: 0 / 0.5268 GB, free: 10.3 MB / 458.7 MB Notification: Performance of Templates: time 0.002904/0.01235, allocations: 0.9323 MB / 0.5277 GB, free: 9.426 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.845771491061896]