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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001056/0.001056, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9088/0.9088, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.14 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.17, allocations: 80.92 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003172/0.1732, allocations: 1.829 MB / 0.5855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1749, allocations: 1.006 MB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.175, allocations: 3.938 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.1755, allocations: 155.7 kB / 0.5866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1757, allocations: 95.7 kB / 0.5867 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1761, allocations: 158.1 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1763, allocations: 167.6 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1764, allocations: 25.08 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.1765, allocations: 71.62 kB / 0.5871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.1766, allocations: 63.75 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1766, allocations: 4 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1767, allocations: 55.91 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.1768, allocations: 43.83 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.1768, allocations: 55.61 kB / 0.5873 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1771, allocations: 175.8 kB / 0.5875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1771, allocations: 4 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1771, allocations: 0 / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1771, allocations: 3.938 kB / 0.5875 GB, free: 1.086 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.0007054/0.1778, allocations: 0.4924 MB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1779, allocations: 11.97 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.1779, allocations: 16.75 kB / 0.588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1782, allocations: 244.8 kB / 0.5882 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1782, allocations: 4.375 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1782, allocations: 16.11 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1785, allocations: 87.31 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1785, allocations: 4 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1785, allocations: 3.938 kB / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.1785, allocations: 3.984 kB / 0.5884 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.1786, allocations: 35.98 kB / 0.5884 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.1791, allocations: 352.7 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1793, allocations: 70.67 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.1794, allocations: 32.84 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1794, allocations: 0 / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1796, allocations: 91.31 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1796, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003733/0.18, allocations: 141.5 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.18, allocations: 81.05 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.1804, allocations: 262.9 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1804, allocations: 33.7 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.1805, allocations: 116.1 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1805, allocations: 23.66 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.1806, allocations: 33.7 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1807, allocations: 326.8 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.1808, allocations: 27.98 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.1809, allocations: 59.7 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.181, allocations: 77.66 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.181, allocations: 4.031 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001987/0.1812, allocations: 117.4 kB / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1812, allocations: 6.031 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1812, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1813, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.1813, allocations: 16 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1813, allocations: 112 / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.1814, allocations: 19.77 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1814, allocations: 4 kB / 0.5902 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.0001272/0.1816, allocations: 142.6 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1816, allocations: 15.81 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.1816, allocations: 21.39 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1817, allocations: 11.92 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1817, allocations: 0 / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1817, allocations: 3.938 kB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1819, allocations: 225.5 kB / 0.5906 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1819, allocations: 0 / 0.5906 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.1819, allocations: 4 kB / 0.5906 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1819, allocations: 4 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1819, allocations: 4 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1819, allocations: 0 / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.182, allocations: 3.984 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1823, allocations: 148.7 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.1823, allocations: 88.92 kB / 0.5909 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1824, allocations: 3.984 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.1824, allocations: 8 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1825, allocations: 11.98 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.1825, allocations: 3.938 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001792/0.1827, allocations: 192.6 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1827, allocations: 0 / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002281/0.1829, allocations: 28 kB / 0.5911 GB, free: 13.05 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.001083/0.184, allocations: 423.7 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1842, allocations: 79.84 kB / 0.5916 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1842, allocations: 0 / 0.5916 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.1843, allocations: 35.98 kB / 0.5916 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.0002895/0.1846, allocations: 47.34 kB / 0.5916 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.1853, allocations: 332.8 kB / 0.592 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1856, allocations: 0.7243 MB / 0.5927 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.318e-05/0.1857, allocations: 25.72 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1857, allocations: 19.44 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1857, allocations: 0 / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.00524/0.191, allocations: 2.182 MB / 0.5948 GB, free: 9.359 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)