Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 100.1 kB / 15.88 MB, free: 12 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.00167/0.00167, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8879/0.8879, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 56.78 kB / 0.5053 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 80.93 MB / 0.5843 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002951/0.15, allocations: 1.828 MB / 0.5861 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1516, allocations: 1.01 MB / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.1517, allocations: 3.938 kB / 0.5871 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.1522, allocations: 155.7 kB / 0.5873 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1525, allocations: 99.75 kB / 0.5874 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1529, allocations: 151.5 kB / 0.5875 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1531, allocations: 163.6 kB / 0.5877 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.1532, allocations: 29.11 kB / 0.5877 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1533, allocations: 67.62 kB / 0.5878 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.1534, allocations: 63.75 kB / 0.5878 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1534, allocations: 4 kB / 0.5878 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1535, allocations: 55.91 kB / 0.5879 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1536, allocations: 31.91 kB / 0.5879 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.1537, allocations: 59.59 kB / 0.588 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1539, allocations: 151.9 kB / 0.5881 GB, free: 1.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1539, allocations: 4 kB / 0.5881 GB, free: 1.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1539, allocations: 0 / 0.5881 GB, free: 1.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1539, allocations: 3.938 kB / 0.5881 GB, free: 1.074 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006648/0.1546, allocations: 492.3 kB / 0.5886 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1546, allocations: 8.031 kB / 0.5886 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.1547, allocations: 20.75 kB / 0.5886 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.155, allocations: 260.7 kB / 0.5889 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.155, allocations: 4.375 kB / 0.5889 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.155, allocations: 8.125 kB / 0.5889 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1552, allocations: 87.38 kB / 0.589 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1553, allocations: 3.938 kB / 0.589 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1553, allocations: 4 kB / 0.589 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1553, allocations: 4 kB / 0.589 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.1554, allocations: 31.98 kB / 0.589 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1559, allocations: 352.7 kB / 0.5893 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1561, allocations: 78.61 kB / 0.5894 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.1562, allocations: 36.83 kB / 0.5894 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1562, allocations: 0 / 0.5894 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.1564, allocations: 79.39 kB / 0.5895 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1564, allocations: 0 / 0.5895 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003398/0.1567, allocations: 145.4 kB / 0.5897 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1568, allocations: 85.09 kB / 0.5897 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1571, allocations: 258.9 kB / 0.59 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1571, allocations: 29.7 kB / 0.59 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.1572, allocations: 112.1 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.1572, allocations: 23.66 kB / 0.5901 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1573, allocations: 41.69 kB / 0.5902 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1574, allocations: 334.8 kB / 0.5905 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.1575, allocations: 27.94 kB / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.1576, allocations: 55.69 kB / 0.5906 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1577, allocations: 73.84 kB / 0.5907 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1577, allocations: 3.938 kB / 0.5907 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002033/0.1579, allocations: 117.5 kB / 0.5908 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.158, allocations: 4 kB / 0.5908 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.158, allocations: 4 kB / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.158, allocations: 3.938 kB / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.1581, allocations: 11.98 kB / 0.5908 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1581, allocations: 0 / 0.5908 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.1582, allocations: 11.94 kB / 0.5908 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1582, allocations: 4 kB / 0.5908 GB, free: 14.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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: 1 * Algorithm blocks: 0 * 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.0001267/0.1583, allocations: 142.6 kB / 0.5909 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1583, allocations: 19.72 kB / 0.591 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1584, allocations: 21.39 kB / 0.591 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1584, allocations: 4 kB / 0.591 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1584, allocations: 0 / 0.591 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1584, allocations: 3.938 kB / 0.591 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1586, allocations: 217.5 kB / 0.5912 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1586, allocations: 4 kB / 0.5912 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.1587, allocations: 15.92 kB / 0.5912 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1587, allocations: 4 kB / 0.5912 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1587, allocations: 4 kB / 0.5912 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1587, allocations: 0 / 0.5912 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1587, allocations: 0 / 0.5912 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1589, allocations: 144.8 kB / 0.5914 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.159, allocations: 92.91 kB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1591, allocations: 8 kB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.1591, allocations: 0 / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1592, allocations: 15.92 kB / 0.5915 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1592, allocations: 7.938 kB / 0.5915 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001958/0.1594, allocations: 192.6 kB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1594, allocations: 0 / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002576/0.1596, allocations: 31.98 kB / 0.5917 GB, free: 13.04 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * 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.0009415/0.1606, allocations: 427.3 kB / 0.5921 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1608, allocations: 71.92 kB / 0.5922 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1608, allocations: 0 / 0.5922 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.1609, allocations: 35.98 kB / 0.5922 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1612, allocations: 42.83 kB / 0.5922 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.1618, allocations: 366.5 kB / 0.5926 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1621, allocations: 0.7204 MB / 0.5933 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1621, allocations: 19.42 kB / 0.5933 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1621, allocations: 4 kB / 0.5933 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.004404/0.1666, allocations: 2.542 MB / 0.5958 GB, free: 8.977 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)