Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008737/0.0008737, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001187/0.001187, allocations: 181 kB / 23.36 MB, free: 1.133 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.9609/0.9609, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8773/0.8773, allocations: 154.9 MB / 415.1 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.027e-05, allocations: 3.031 kB / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.005631/0.005661, allocations: 1.48 MB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.006474, allocations: 464.8 kB / 482.2 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.006515, allocations: 0.6875 kB / 482.2 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.006546, allocations: 8.859 kB / 482.2 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.006639, allocations: 15.33 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.006786, allocations: 20.94 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.006906, allocations: 54.58 kB / 482.3 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.006981, allocations: 5 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.007077, allocations: 32.48 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.009645, allocations: 21.38 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.009668, allocations: 5.062 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.009679, allocations: 4 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.009705, allocations: 9.969 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.009742, allocations: 12 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.00986, allocations: 35.83 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.009865, allocations: 3.984 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009866, allocations: 0.5 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.009871, allocations: 1.719 kB / 482.5 MB, free: 4.469 MB / 442.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.0004413/0.01031, allocations: 285.7 kB / 482.7 MB, free: 4.164 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.01035, allocations: 9.25 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.01038, allocations: 8.922 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.296e-05/0.01048, allocations: 121.7 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.01049, allocations: 384 / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.0105, allocations: 5.031 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.0106, allocations: 73.98 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01061, allocations: 192 / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.01062, allocations: 4.375 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.01063, allocations: 3.938 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.01067, allocations: 37.08 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.01094, allocations: 160.2 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.011, allocations: 57.16 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.01104, allocations: 38.55 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01105, allocations: 4 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.01118, allocations: 126.9 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.01119, allocations: 0 / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001871/0.01137, allocations: 162.7 kB / 483.5 MB, free: 3.246 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.01142, allocations: 78.02 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.01149, allocations: 122.6 kB / 483.7 MB, free: 3.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.0115, allocations: 30.58 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.01154, allocations: 80.14 kB / 483.8 MB, free: 2.902 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.01156, allocations: 24.72 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.0116, allocations: 21.72 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.01169, allocations: 322.8 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.01172, allocations: 42.27 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.01176, allocations: 60.88 kB / 484.3 MB, free: 2.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.827e-05/0.01184, allocations: 111 kB / 484.4 MB, free: 2.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01184, allocations: 0.625 kB / 484.4 MB, free: 2.277 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001221/0.01197, allocations: 133.6 kB / 484.5 MB, free: 2.129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.012, allocations: 30.33 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01201, allocations: 7.938 kB / 484.6 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01202, allocations: 2.016 kB / 484.6 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.01206, allocations: 4.688 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01206, allocations: 3.984 kB / 484.6 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.01211, allocations: 5.781 kB / 484.6 MB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.01212, allocations: 8 kB / 484.6 MB, free: 2.066 MB / 442.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.499e-05/0.0122, allocations: 139.5 kB / 484.7 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.01222, allocations: 11.98 kB / 484.8 MB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.01225, allocations: 17.06 kB / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01225, allocations: 0 / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01225, allocations: 0.875 kB / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01225, allocations: 0 / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.01252, allocations: 282.8 kB / 485 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01252, allocations: 3.984 kB / 485.1 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-06/0.01253, allocations: 4.594 kB / 485.1 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01253, allocations: 3.938 kB / 485.1 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01254, allocations: 9.219 kB / 485.1 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01254, allocations: 0 / 485.1 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01254, allocations: 1.219 kB / 485.1 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.01265, allocations: 218.9 kB / 485.3 MB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.01266, allocations: 3.953 kB / 485.3 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01268, allocations: 17.78 kB / 485.3 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.01273, allocations: 7.938 kB / 485.3 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.01277, allocations: 9.016 kB / 485.3 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01278, allocations: 3.984 kB / 485.3 MB, free: 1.273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.501e-05/0.01279, allocations: 17.61 kB / 485.3 MB, free: 1.254 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01279, allocations: 0 / 485.3 MB, free: 1.254 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001246/0.01292, allocations: 12 kB / 485.4 MB, free: 1.242 MB / 442.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.0001016/0.01302, allocations: 78.42 kB / 485.4 MB, free: 1.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01315, allocations: 175.5 kB / 485.6 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01315, allocations: 0.875 kB / 485.6 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.0132, allocations: 110 kB / 485.7 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.01336, allocations: 17.3 kB / 485.7 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.01363, allocations: 177.8 kB / 485.9 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.01367, allocations: 59.3 kB / 486 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.01369, allocations: 8.734 kB / 486 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.01376, allocations: 63.88 kB / 486 MB, free: 480 kB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01376, allocations: 0 / 486 MB, free: 480 kB / 442.7 MB Notification: Performance of Templates: time 0.002486/0.01625, allocations: 0.967 MB / 487 MB, free: 15.58 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.717228720895946]