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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.138/1.138, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002174/0.002174, allocations: 67.92 kB / 0.6739 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7596, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002817/0.7625, allocations: 1.439 MB / 0.7683 GB, free: 7.281 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0008118/0.7633, allocations: 446 kB / 0.7687 GB, free: 6.977 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.7633, allocations: 1.031 kB / 0.7687 GB, free: 6.977 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.7634, allocations: 5.25 kB / 0.7687 GB, free: 6.973 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.7635, allocations: 10.58 kB / 0.7687 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.7636, allocations: 23.84 kB / 0.7688 GB, free: 6.949 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001423/0.7638, allocations: 54.55 kB / 0.7688 GB, free: 6.922 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.7639, allocations: 4.297 kB / 0.7688 GB, free: 6.922 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.7639, allocations: 25.95 kB / 0.7688 GB, free: 6.906 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.764, allocations: 23.25 kB / 0.7689 GB, free: 6.895 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.764, allocations: 3.844 kB / 0.7689 GB, free: 6.895 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.7641, allocations: 3.25 kB / 0.7689 GB, free: 6.895 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.7641, allocations: 11.7 kB / 0.7689 GB, free: 6.887 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.7641, allocations: 19.64 kB / 0.7689 GB, free: 6.875 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000156/0.7643, allocations: 44.11 kB / 0.7689 GB, free: 6.859 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7643, allocations: 1.312 kB / 0.7689 GB, free: 6.859 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.503e-06/0.7643, allocations: 0 / 0.7689 GB, free: 6.859 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.074e-06/0.7643, allocations: 0 / 0.7689 GB, free: 6.859 MB / 0.5762 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.0006333/0.7649, allocations: 317.2 kB / 0.7692 GB, free: 6.559 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.765, allocations: 9.656 kB / 0.7692 GB, free: 6.559 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.765, allocations: 6.031 kB / 0.7693 GB, free: 6.559 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7651, allocations: 127 kB / 0.7694 GB, free: 6.414 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.7651, allocations: 5.719 kB / 0.7694 GB, free: 6.41 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.7652, allocations: 3 kB / 0.7694 GB, free: 6.41 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.7653, allocations: 56.33 kB / 0.7694 GB, free: 6.367 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7653, allocations: 0 / 0.7694 GB, free: 6.367 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7653, allocations: 0.8906 kB / 0.7694 GB, free: 6.367 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7653, allocations: 1.562 kB / 0.7694 GB, free: 6.367 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.7654, allocations: 15.88 kB / 0.7695 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.7658, allocations: 242.1 kB / 0.7697 GB, free: 6.117 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.802e-05/0.7659, allocations: 40.95 kB / 0.7697 GB, free: 6.082 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.7659, allocations: 19.11 kB / 0.7697 GB, free: 6.07 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.7659, allocations: 5.125 kB / 0.7697 GB, free: 6.066 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.7661, allocations: 105.8 kB / 0.7698 GB, free: 5.973 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.7661, allocations: 0 / 0.7698 GB, free: 5.973 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=9): time 0.0003214/0.7664, allocations: 138.6 kB / 0.77 GB, free: 5.883 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.7665, allocations: 84.2 kB / 0.7701 GB, free: 5.785 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.7666, allocations: 115.9 kB / 0.7702 GB, free: 5.676 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7666, allocations: 27.08 kB / 0.7702 GB, free: 5.645 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.7666, allocations: 87.67 kB / 0.7703 GB, free: 5.559 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.7667, allocations: 15.03 kB / 0.7703 GB, free: 5.547 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.7667, allocations: 25.88 kB / 0.7703 GB, free: 5.527 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 5.712e-05/0.7668, allocations: 326.9 kB / 0.7706 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.7668, allocations: 18.77 kB / 0.7707 GB, free: 5.195 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.7668, allocations: 40.12 kB / 0.7707 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.7669, allocations: 108.3 kB / 0.7708 GB, free: 5.059 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7669, allocations: 0 / 0.7708 GB, free: 5.059 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001641/0.7671, allocations: 136.4 kB / 0.7709 GB, free: 4.961 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.7671, allocations: 31.86 kB / 0.771 GB, free: 4.93 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7671, allocations: 4.062 kB / 0.771 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.7672, allocations: 2.531 kB / 0.771 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.7672, allocations: 3.344 kB / 0.771 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.7672, allocations: 2.75 kB / 0.771 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.7673, allocations: 10.33 kB / 0.771 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.7673, allocations: 3.375 kB / 0.771 GB, free: 4.922 MB / 0.5762 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 9.727e-05/0.7674, allocations: 153.2 kB / 0.7711 GB, free: 4.766 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.7674, allocations: 8.453 kB / 0.7711 GB, free: 4.762 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.7674, allocations: 13.56 kB / 0.7711 GB, free: 4.746 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7674, allocations: 5.375 kB / 0.7712 GB, free: 4.742 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7675, allocations: 1.922 kB / 0.7712 GB, free: 4.742 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7675, allocations: 1.688 kB / 0.7712 GB, free: 4.742 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.7678, allocations: 369.2 kB / 0.7715 GB, free: 4.41 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7678, allocations: 1.062 kB / 0.7715 GB, free: 4.41 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.7678, allocations: 6.953 kB / 0.7715 GB, free: 4.406 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7678, allocations: 3.938 kB / 0.7715 GB, free: 4.402 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.7678, allocations: 6.578 kB / 0.7715 GB, free: 4.398 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7678, allocations: 0 / 0.7715 GB, free: 4.398 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7678, allocations: 4.969 kB / 0.7715 GB, free: 4.395 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.7681, allocations: 233.9 kB / 0.7718 GB, free: 4.203 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.7681, allocations: 5.766 kB / 0.7718 GB, free: 4.199 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.7681, allocations: 10.19 kB / 0.7718 GB, free: 4.195 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7682, allocations: 8.906 kB / 0.7718 GB, free: 4.191 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.7683, allocations: 15.19 kB / 0.7718 GB, free: 4.184 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.7683, allocations: 3.312 kB / 0.7718 GB, free: 4.184 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.624e-05/0.7683, allocations: 91.92 kB / 0.7719 GB, free: 4.102 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.7683, allocations: 0 / 0.7719 GB, free: 4.102 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002342/0.7686, allocations: 13.58 kB / 0.7719 GB, free: 4.102 MB / 0.5762 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.0001011/0.7687, allocations: 101.3 kB / 0.772 GB, free: 4.012 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.000209/0.7689, allocations: 106.9 kB / 0.7721 GB, free: 3.934 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7689, allocations: 0 / 0.7721 GB, free: 3.934 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.769, allocations: 80.52 kB / 0.7722 GB, free: 3.863 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.7693, allocations: 16.41 kB / 0.7722 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.7696, allocations: 152.4 kB / 0.7723 GB, free: 3.73 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.7698, allocations: 0.6936 MB / 0.773 GB, free: 3.027 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.975e-05/0.7698, allocations: 3.25 kB / 0.773 GB, free: 3.027 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.7698, allocations: 10.75 kB / 0.773 GB, free: 3.023 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.61e-07/0.7698, allocations: 0 / 0.773 GB, free: 3.023 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004028/0.7739, allocations: 0.9184 MB / 0.7739 GB, free: 2.906 MB / 0.5762 GB
"
[Timeout remaining time 659]
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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.260931296274066]
Failed to read output from testmodel.py, exit status != 0:
0.7830402282997966 0.797456712 0.029607401000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0e009297b0>