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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9093/0.9093, allocations: 135.3 MB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 15.92 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 82.3 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001595/0.164, allocations: 1.137 MB / 0.5897 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007003/0.1647, allocations: 427.1 kB / 0.5901 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.1648, allocations: 0 / 0.5901 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.1648, allocations: 0 / 0.5901 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.1649, allocations: 7.922 kB / 0.5901 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.165, allocations: 19.98 kB / 0.5902 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.1651, allocations: 47.8 kB / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.1652, allocations: 7.984 kB / 0.5902 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.1653, allocations: 23.86 kB / 0.5902 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.1654, allocations: 15.92 kB / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1654, allocations: 8 kB / 0.5903 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.1654, allocations: 0 / 0.5903 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.1654, allocations: 8 kB / 0.5903 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.1655, allocations: 45.56 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.97e-05/0.1656, allocations: 23.94 kB / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1656, allocations: 0 / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1656, allocations: 0 / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1656, allocations: 0 / 0.5903 GB, free: 0.8516 MB / 494.1 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.0005983/0.1662, allocations: 393.4 kB / 0.5907 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1663, allocations: 15.97 kB / 0.5907 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1663, allocations: 4.844 kB / 0.5907 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1665, allocations: 176.2 kB / 0.5909 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1665, allocations: 8.359 kB / 0.5909 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1665, allocations: 384 / 0.5909 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1667, allocations: 54 kB / 0.5909 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1667, allocations: 0 / 0.5909 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1667, allocations: 8 kB / 0.591 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1667, allocations: 0 / 0.591 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.1668, allocations: 15.98 kB / 0.591 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1672, allocations: 268.8 kB / 0.5912 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.1673, allocations: 46.5 kB / 0.5913 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.1673, allocations: 16.98 kB / 0.5913 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1674, allocations: 4 kB / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1675, allocations: 109.1 kB / 0.5914 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1676, allocations: 0 / 0.5914 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002692/0.1678, allocations: 139.2 kB / 0.5915 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1679, allocations: 81.11 kB / 0.5916 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.168, allocations: 109.8 kB / 0.5917 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.168, allocations: 29.7 kB / 0.5917 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.1681, allocations: 92.08 kB / 0.5918 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1681, allocations: 15.8 kB / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.1681, allocations: 17.72 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1683, allocations: 322.8 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.1683, allocations: 15.94 kB / 0.5922 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.1683, allocations: 42.06 kB / 0.5922 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1685, allocations: 118.3 kB / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1685, allocations: 0 / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001528/0.1686, allocations: 131.2 kB / 0.5925 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.1687, allocations: 34.08 kB / 0.5925 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1687, allocations: 4 kB / 0.5925 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1687, allocations: 0 / 0.5925 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.1687, allocations: 4 kB / 0.5925 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1688, allocations: 3.938 kB / 0.5925 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.1688, allocations: 19.98 kB / 0.5925 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1689, allocations: 0 / 0.5925 GB, free: 14.31 MB / 0.4981 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.0001077/0.169, allocations: 151.5 kB / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.169, allocations: 7.906 kB / 0.5927 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.169, allocations: 12.38 kB / 0.5927 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.169, allocations: 0 / 0.5927 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1691, allocations: 64 / 0.5927 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1691, allocations: 7.984 kB / 0.5927 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1695, allocations: 404.1 kB / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1695, allocations: 0 / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.1695, allocations: 3.938 kB / 0.5931 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1695, allocations: 0 / 0.5931 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1695, allocations: 7.984 kB / 0.5931 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1695, allocations: 0 / 0.5931 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1696, allocations: 0 / 0.5931 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1698, allocations: 237.1 kB / 0.5933 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1698, allocations: 85.02 kB / 0.5934 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1699, allocations: 3.938 kB / 0.5934 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.17, allocations: 11.98 kB / 0.5934 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.17, allocations: 19.86 kB / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.17, allocations: 4 kB / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.1701, allocations: 83.28 kB / 0.5935 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1701, allocations: 0 / 0.5935 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002492/0.1704, allocations: 16 kB / 0.5935 GB, free: 13.15 MB / 0.4981 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.0001184/0.1705, allocations: 107.2 kB / 0.5936 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1707, allocations: 111.3 kB / 0.5937 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1707, allocations: 0 / 0.5937 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.741e-05/0.1708, allocations: 91.39 kB / 0.5938 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1711, allocations: 15.92 kB / 0.5938 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.1715, allocations: 190.5 kB / 0.594 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1717, allocations: 0.6926 MB / 0.5947 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1718, allocations: 15.44 kB / 0.5947 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1718, allocations: 0 / 0.5947 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.002392/0.1742, allocations: 0.8862 MB / 0.5956 GB, free: 10.98 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (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)