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.002403/0.002403, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002449/0.002449, allocations: 186 kB / 20.78 MB, free: 1.547 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.647/1.647, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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/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.172/1.172, allocations: 175.7 MB / 480.2 MB, free: 2.789 MB / 366.1 MB " [Timeout remaining time 179] 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.002464/0.002464, allocations: 71.14 kB / 0.6683 GB, free: 10.69 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2613, allocations: 94.54 MB / 0.7606 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00313/0.2644, allocations: 1.443 MB / 0.7621 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.2653, allocations: 446.9 kB / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.2653, allocations: 0 / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.2654, allocations: 0 / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.929e-05/0.2655, allocations: 11.88 kB / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.2657, allocations: 15.98 kB / 0.7625 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.2658, allocations: 47.84 kB / 0.7626 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2659, allocations: 15.92 kB / 0.7626 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.203e-05/0.266, allocations: 23.86 kB / 0.7626 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.2661, allocations: 19.92 kB / 0.7626 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2661, allocations: 7.938 kB / 0.7626 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.2661, allocations: 4 kB / 0.7626 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.2661, allocations: 7.984 kB / 0.7626 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.2662, allocations: 23.88 kB / 0.7626 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2663, allocations: 43.81 kB / 0.7627 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.2663, allocations: 0 / 0.7627 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2663, allocations: 0 / 0.7627 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2663, allocations: 4 kB / 0.7627 GB, free: 14.25 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.0007621/0.2671, allocations: 398.5 kB / 0.7631 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2672, allocations: 12.03 kB / 0.7631 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.2672, allocations: 4.938 kB / 0.7631 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.2674, allocations: 164.3 kB / 0.7632 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2674, allocations: 4.375 kB / 0.7633 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2674, allocations: 384 / 0.7633 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2676, allocations: 61.98 kB / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2676, allocations: 0 / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2676, allocations: 4 kB / 0.7633 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2676, allocations: 0 / 0.7633 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.2677, allocations: 19.92 kB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.2682, allocations: 272.8 kB / 0.7636 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.968e-05/0.2682, allocations: 30.58 kB / 0.7636 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.2683, allocations: 28.97 kB / 0.7637 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2683, allocations: 0 / 0.7637 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.2685, allocations: 108.9 kB / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2685, allocations: 0 / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003124/0.2688, allocations: 147.2 kB / 0.7639 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.2689, allocations: 85.09 kB / 0.764 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.269, allocations: 113.8 kB / 0.7641 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.269, allocations: 33.7 kB / 0.7641 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.2691, allocations: 84.14 kB / 0.7642 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2692, allocations: 23.91 kB / 0.7642 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.2692, allocations: 25.7 kB / 0.7642 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2693, allocations: 322.8 kB / 0.7646 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.2694, allocations: 15.98 kB / 0.7646 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.2694, allocations: 38.56 kB / 0.7646 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.2696, allocations: 109.9 kB / 0.7647 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2696, allocations: 0 / 0.7647 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001607/0.2697, allocations: 123.3 kB / 0.7648 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.2698, allocations: 39.56 kB / 0.7649 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2698, allocations: 0 / 0.7649 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2698, allocations: 0 / 0.7649 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.2698, allocations: 8 kB / 0.7649 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2698, allocations: 4.062 kB / 0.7649 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.2699, allocations: 7.984 kB / 0.7649 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2699, allocations: 4 kB / 0.7649 GB, free: 11.72 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 0.0001275/0.27, allocations: 154.7 kB / 0.765 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.2701, allocations: 7.953 kB / 0.765 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.2701, allocations: 12.36 kB / 0.7651 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2701, allocations: 4 kB / 0.7651 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2701, allocations: 0 / 0.7651 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2701, allocations: 4 kB / 0.7651 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.2705, allocations: 400.6 kB / 0.7654 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2705, allocations: 4 kB / 0.7654 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-06/0.2706, allocations: 0 / 0.7654 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2706, allocations: 3.938 kB / 0.7655 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2706, allocations: 4 kB / 0.7655 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2706, allocations: 0 / 0.7655 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2706, allocations: 3.938 kB / 0.7655 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2708, allocations: 245 kB / 0.7657 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.2709, allocations: 89 kB / 0.7658 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2709, allocations: 0 / 0.7658 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2711, allocations: 7.984 kB / 0.7658 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2711, allocations: 11.94 kB / 0.7658 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2711, allocations: 4 kB / 0.7658 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.799e-05/0.2712, allocations: 91.27 kB / 0.7659 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2712, allocations: 0 / 0.7659 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002258/0.2714, allocations: 12 kB / 0.7659 GB, free: 10.56 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.0001301/0.2716, allocations: 103.2 kB / 0.766 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.2718, allocations: 119.3 kB / 0.7661 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2718, allocations: 0 / 0.7661 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.2719, allocations: 83.33 kB / 0.7662 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2722, allocations: 12.92 kB / 0.7662 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.2726, allocations: 149.5 kB / 0.7663 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.273, allocations: 0.6923 MB / 0.767 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.273, allocations: 4 kB / 0.767 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.273, allocations: 15.44 kB / 0.767 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.273, allocations: 0 / 0.767 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.004173/0.2772, allocations: 0.8891 MB / 0.7679 GB, free: 8.426 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.622888610698283]