Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008293/0.0008291, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.000382, allocations: 9.125 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 82.31 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001779/0.1569, allocations: 1.458 MB / 0.5886 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1581, allocations: 0.9074 MB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.1582, allocations: 7.875 kB / 0.5895 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.1586, allocations: 143.7 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1588, allocations: 91.69 kB / 0.5897 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1592, allocations: 134.8 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1593, allocations: 103.8 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.1594, allocations: 25.09 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.1595, allocations: 59.75 kB / 0.59 GB, free: 188 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.1596, allocations: 55.77 kB / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1596, allocations: 4 kB / 0.5901 GB, free: 128 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.1597, allocations: 43.91 kB / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1598, allocations: 39.83 kB / 0.5902 GB, free: 44 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.1599, allocations: 45.75 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.16, allocations: 144 kB / 0.5904 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.16, allocations: 4 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.16, allocations: 0 / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1601, allocations: 4 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB 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.0005807/0.1606, allocations: 476.1 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.1607, allocations: 8.031 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1607, allocations: 15.81 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.161, allocations: 247.6 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.161, allocations: 4 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.161, allocations: 7.984 kB / 0.5911 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1612, allocations: 87.39 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1612, allocations: 0 / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1612, allocations: 11.92 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1613, allocations: 8 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.1614, allocations: 31.98 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1618, allocations: 352.7 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.162, allocations: 82.7 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.162, allocations: 3.938 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.1622, allocations: 83.44 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1622, allocations: 0 / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003276/0.1625, allocations: 226.6 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1626, allocations: 81.11 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1628, allocations: 262.8 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1628, allocations: 29.7 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1629, allocations: 112.1 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.1629, allocations: 27.64 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.1629, allocations: 0 / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1631, allocations: 334.8 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.1631, allocations: 27.98 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.1632, allocations: 68.77 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.1633, allocations: 36.3 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1633, allocations: 0 / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001809/0.1635, allocations: 109.4 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1635, allocations: 10.34 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1635, allocations: 4.062 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.1635, allocations: 0 / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.1636, allocations: 15.98 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1636, allocations: 4.156 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.1637, allocations: 4 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1637, allocations: 3.953 kB / 0.593 GB, free: 12.86 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.1638, allocations: 146.5 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1638, allocations: 15.81 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.1639, allocations: 25.38 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1639, allocations: 4 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1639, allocations: 0 / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1639, allocations: 0 / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1641, allocations: 229.4 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1641, allocations: 7.938 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.1641, allocations: 3.984 kB / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1641, allocations: 4 kB / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1641, allocations: 0 / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1641, allocations: 0 / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1641, allocations: 0 / 0.5934 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1643, allocations: 148.8 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.1644, allocations: 100.9 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1644, allocations: 0 / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.1645, allocations: 11.98 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1645, allocations: 8 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1645, allocations: 0 / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001605/0.1647, allocations: 196.6 kB / 0.5939 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 3.938 kB / 0.5939 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002129/0.1649, allocations: 28 kB / 0.5939 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008124/0.1658, allocations: 409.4 kB / 0.5943 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.166, allocations: 75.83 kB / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.166, allocations: 0 / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.166, allocations: 43.98 kB / 0.5944 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1663, allocations: 38.67 kB / 0.5945 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.1667, allocations: 330.1 kB / 0.5948 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.167, allocations: 0.7282 MB / 0.5955 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.492e-05/0.1671, allocations: 29.7 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.1671, allocations: 23.42 kB / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1671, allocations: 0 / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.004495/0.1716, allocations: 2.104 MB / 0.5976 GB, free: 8.23 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: