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.0008715/0.0008715, allocations: 82.05 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.0009064/0.0009064, allocations: 169.7 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.8976/0.8976, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7207/0.7207, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 1.373e-06/1.373e-06, allocations: 0 / 0.5207 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.197e-06/1.057e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001548/0.001559, allocations: 1.471 MB / 0.5221 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005492/0.002108, allocations: 449 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.002143, allocations: 0 / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.002165, allocations: 12.89 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.002231, allocations: 11.88 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.002349, allocations: 21.58 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.002439, allocations: 55.78 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.002504, allocations: 4 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.002571, allocations: 31.86 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.002626, allocations: 19.95 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.002643, allocations: 4.562 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.002651, allocations: 5.031 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.00267, allocations: 7.938 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.002696, allocations: 15.98 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.002779, allocations: 37.05 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002781, allocations: 0 / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002781, allocations: 0 / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.002784, allocations: 0.625 kB / 0.5228 GB, free: 15.78 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.0003847/0.003169, allocations: 411.9 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.003202, allocations: 8.031 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.003231, allocations: 16.88 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.003299, allocations: 121.7 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.003308, allocations: 384 / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.003316, allocations: 4.375 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.003393, allocations: 72.75 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.0034, allocations: 192 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.003407, allocations: 4.375 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.003413, allocations: 5.125 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.003439, allocations: 33.7 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.003659, allocations: 257 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.741e-05/0.003746, allocations: 68.75 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.003769, allocations: 46.14 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.003784, allocations: 4.969 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/0.003877, allocations: 124.5 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.003878, allocations: 0 / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000178/0.004056, allocations: 195.2 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.004087, allocations: 81.86 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.004151, allocations: 170 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.004161, allocations: 36.86 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.004199, allocations: 134.9 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.004214, allocations: 19.84 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.004244, allocations: 31.36 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.004349, allocations: 496.1 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.00437, allocations: 45.69 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.004402, allocations: 67.14 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.00446, allocations: 111.3 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.004461, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001657/0.004627, allocations: 145.6 kB / 0.5254 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.004649, allocations: 35.2 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.004653, allocations: 0 / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.004663, allocations: 4 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-05/0.004691, allocations: 5.594 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.004695, allocations: 3.984 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.004728, allocations: 11.95 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.004734, allocations: 4 kB / 0.5254 GB, free: 12.75 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 6.962e-05/0.004804, allocations: 195.2 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.004816, allocations: 9.766 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.004838, allocations: 12.38 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.004839, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00484, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004843, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.005069, allocations: 402.8 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00507, allocations: 0 / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-06/0.005074, allocations: 4 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.005077, allocations: 7.875 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005083, allocations: 3.984 kB / 0.5261 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.005085, allocations: 6.75 kB / 0.5261 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005085, allocations: 0 / 0.5261 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.005215, allocations: 299.3 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.005224, allocations: 7.891 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.005237, allocations: 4 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.005285, allocations: 12.05 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.005313, allocations: 14.11 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.005322, allocations: 0 / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.005356, allocations: 131.2 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005356, allocations: 0 / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001429/0.005499, allocations: 12 kB / 0.5265 GB, free: 11.56 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 6.325e-05/0.005562, allocations: 106.5 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.00567, allocations: 159.1 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.005673, allocations: 4 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.005721, allocations: 109.4 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.005893, allocations: 19.33 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.006103, allocations: 191.7 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.039e-05/0.006133, allocations: 60.09 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.006156, allocations: 7.984 kB / 0.5271 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.006216, allocations: 90.19 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.006216, allocations: 0 / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.002143/0.00836, allocations: 1.011 MB / 0.5282 GB, free: 9.777 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.217378989327699]