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.0008785/0.0008785, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009058/0.0009058, allocations: 173 kB / 23.03 MB, free: 1.543 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.8802/0.8802, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7883/0.7883, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.433e-06/1.433e-06, allocations: 0 / 0.5203 GB, free: 1.188 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.379e-05, allocations: 10.42 kB / 0.5203 GB, free: 1.18 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001881/0.001905, allocations: 1.477 MB / 0.5217 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.002553, allocations: 463.3 kB / 0.5222 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.002592, allocations: 0 / 0.5222 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.002624, allocations: 7.922 kB / 0.5222 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.002707, allocations: 7.938 kB / 0.5222 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.002868, allocations: 19.92 kB / 0.5222 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.00298, allocations: 55.83 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.003064, allocations: 3.938 kB / 0.5223 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.003142, allocations: 27.92 kB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.00321, allocations: 24.41 kB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.00323, allocations: 4.531 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.00324, allocations: 0 / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.003264, allocations: 8.562 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.003303, allocations: 16.89 kB / 0.5223 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003407, allocations: 31.91 kB / 0.5224 GB, free: 15.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00341, allocations: 3.984 kB / 0.5224 GB, free: 15.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003411, allocations: 1.469 kB / 0.5224 GB, free: 15.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.003415, allocations: 0 / 0.5224 GB, free: 15.05 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.0004862/0.003901, allocations: 418.8 kB / 0.5228 GB, free: 14.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.003937, allocations: 8.719 kB / 0.5228 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.003982, allocations: 8.891 kB / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.00407, allocations: 114.5 kB / 0.5229 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004083, allocations: 4.375 kB / 0.5229 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.004094, allocations: 8.359 kB / 0.5229 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.975e-05/0.004194, allocations: 67.95 kB / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.004203, allocations: 12.06 kB / 0.523 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.004215, allocations: 8.922 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.004224, allocations: 3.938 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.004263, allocations: 38.55 kB / 0.523 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.004591, allocations: 267.7 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.546e-05/0.004666, allocations: 66.19 kB / 0.5233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.0047, allocations: 45.52 kB / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.004714, allocations: 0 / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.004835, allocations: 145.1 kB / 0.5235 GB, free: 13.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.004836, allocations: 0 / 0.5235 GB, free: 13.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002343/0.00507, allocations: 191.8 kB / 0.5237 GB, free: 13.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.005114, allocations: 85.09 kB / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.005191, allocations: 169.9 kB / 0.524 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.005203, allocations: 32.52 kB / 0.524 GB, free: 13.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.005248, allocations: 130.9 kB / 0.5241 GB, free: 13.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.005264, allocations: 15.84 kB / 0.5241 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.005299, allocations: 35.36 kB / 0.5242 GB, free: 12.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.005404, allocations: 496.1 kB / 0.5246 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.005434, allocations: 41.69 kB / 0.5247 GB, free: 12.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.005476, allocations: 68.75 kB / 0.5247 GB, free: 12.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.005548, allocations: 120.3 kB / 0.5249 GB, free: 12.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.005551, allocations: 0 / 0.5249 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000126/0.005677, allocations: 157.9 kB / 0.525 GB, free: 12.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.005703, allocations: 29.7 kB / 0.525 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005707, allocations: 0 / 0.525 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.00572, allocations: 4.938 kB / 0.525 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.005764, allocations: 11.92 kB / 0.525 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.005769, allocations: 0 / 0.525 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.005808, allocations: 12.89 kB / 0.5251 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.005814, allocations: 4 kB / 0.5251 GB, free: 11.96 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 8.067e-05/0.005895, allocations: 195.1 kB / 0.5252 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.005908, allocations: 9.156 kB / 0.5253 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.005929, allocations: 12.44 kB / 0.5253 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005931, allocations: 3.938 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.005935, allocations: 0 / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005938, allocations: 0.625 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.006211, allocations: 417.4 kB / 0.5257 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.006213, allocations: 0 / 0.5257 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.006218, allocations: 6.844 kB / 0.5257 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00622, allocations: 0 / 0.5257 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.006228, allocations: 4 kB / 0.5257 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006229, allocations: 0 / 0.5257 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006231, allocations: 7.938 kB / 0.5257 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.006389, allocations: 307.2 kB / 0.526 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.006399, allocations: 12.02 kB / 0.526 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.006416, allocations: 4 kB / 0.526 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.006468, allocations: 7.125 kB / 0.526 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.006509, allocations: 7.984 kB / 0.526 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.006526, allocations: 8 kB / 0.526 GB, free: 10.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.006563, allocations: 127.2 kB / 0.5261 GB, free: 10.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006563, allocations: 3.938 kB / 0.5261 GB, free: 10.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.006712, allocations: 23.94 kB / 0.5262 GB, free: 10.74 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 7.072e-05/0.006783, allocations: 101 kB / 0.5263 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.006936, allocations: 170.4 kB / 0.5264 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006937, allocations: 0 / 0.5264 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.006996, allocations: 113.6 kB / 0.5265 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.007191, allocations: 21.95 kB / 0.5266 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.00745, allocations: 179.9 kB / 0.5267 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.007484, allocations: 59.36 kB / 0.5268 GB, free: 9.996 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.007513, allocations: 7.984 kB / 0.5268 GB, free: 9.988 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.00754, allocations: 15.25 kB / 0.5268 GB, free: 9.977 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.007541, allocations: 0 / 0.5268 GB, free: 9.977 MB / 458.7 MB Notification: Performance of Templates: time 0.002665/0.01021, allocations: 0.975 MB / 0.5278 GB, free: 9.062 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.472273788880557]