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.0008918/0.0008918, allocations: 99.7 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.0009112/0.0009112, 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8718/0.8718, allocations: 135.2 MB / 426.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 8.688 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 82.31 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002039/0.1529, allocations: 1.45 MB / 0.5886 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1542, allocations: 0.9152 MB / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.1543, allocations: 0 / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.1548, allocations: 147.6 kB / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.155, allocations: 95.75 kB / 0.5897 GB, free: 472 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1554, allocations: 144.2 kB / 0.5899 GB, free: 332 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1555, allocations: 95.83 kB / 0.59 GB, free: 236 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1556, allocations: 21.08 kB / 0.59 GB, free: 216 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.1558, allocations: 63.75 kB / 0.59 GB, free: 152 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.1558, allocations: 51.78 kB / 0.5901 GB, free: 100 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1559, allocations: 8 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.156, allocations: 47.89 kB / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.156, allocations: 31.91 kB / 0.5902 GB, free: 12 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1561, allocations: 49.64 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1563, allocations: 148 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1563, allocations: 0 / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1563, allocations: 3.938 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1563, allocations: 0 / 0.5904 GB, free: 15.81 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.0006075/0.1569, allocations: 480.2 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.157, allocations: 8.031 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.157, allocations: 15.81 kB / 0.5909 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1573, allocations: 243.7 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1573, allocations: 4 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1573, allocations: 7.938 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1575, allocations: 87.33 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1575, allocations: 7.984 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1576, allocations: 3.984 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1576, allocations: 4 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.1577, allocations: 35.98 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.1581, allocations: 356.6 kB / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1583, allocations: 66.69 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1583, allocations: 7.984 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.1585, allocations: 83.48 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/0.1585, allocations: 0 / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000342/0.1589, allocations: 230.6 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1589, allocations: 81.05 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1592, allocations: 262.8 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1592, allocations: 33.7 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.1593, allocations: 112.1 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1593, allocations: 31.62 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1593, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1594, allocations: 334.8 kB / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.1595, allocations: 23.98 kB / 0.5928 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.1596, allocations: 66.69 kB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.1597, allocations: 32.41 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1597, allocations: 0 / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001778/0.1599, allocations: 113.4 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1599, allocations: 14.28 kB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1599, allocations: 0 / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1599, allocations: 0 / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.16, allocations: 15.98 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.16, allocations: 4 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1601, allocations: 8.031 kB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1601, allocations: 3.953 kB / 0.593 GB, free: 12.82 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.0001324/0.1602, allocations: 145.2 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.1603, allocations: 15.81 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1603, allocations: 17.39 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1603, allocations: 4 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1603, allocations: 0 / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1603, allocations: 0 / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1605, allocations: 241.4 kB / 0.5934 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1605, allocations: 0 / 0.5934 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.1606, allocations: 11.92 kB / 0.5934 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1606, allocations: 0 / 0.5934 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1606, allocations: 4 kB / 0.5934 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1606, allocations: 3.938 kB / 0.5934 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1606, allocations: 0 / 0.5934 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1608, allocations: 140.9 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.1609, allocations: 100.9 kB / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1609, allocations: 0 / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.161, allocations: 11.92 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.161, allocations: 8 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1611, allocations: 0 / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001775/0.1612, allocations: 192.6 kB / 0.5939 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1613, allocations: 0 / 0.5939 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.1615, allocations: 28 kB / 0.5939 GB, free: 11.82 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.000926/0.1624, allocations: 421.6 kB / 0.5943 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1626, allocations: 75.91 kB / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1626, allocations: 0 / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.1627, allocations: 31.98 kB / 0.5944 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1629, allocations: 39.7 kB / 0.5945 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.1634, allocations: 326.1 kB / 0.5948 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1638, allocations: 0.7359 MB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.604e-05/0.1639, allocations: 25.7 kB / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1639, allocations: 19.42 kB / 0.5955 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1639, allocations: 7.938 kB / 0.5955 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.004623/0.1685, allocations: 2.096 MB / 0.5976 GB, free: 8.207 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: