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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001047/0.001047, allocations: 108 kB / 15.6 MB, free: 132 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.001132/0.001132, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 68.31 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4364, allocations: 80.2 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003658/0.4401, allocations: 1.785 MB / 0.5818 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.4421, allocations: 1.012 MB / 0.5828 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.4423, allocations: 5.312 kB / 0.5828 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.4431, allocations: 167.4 kB / 0.583 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.4434, allocations: 114.3 kB / 0.5831 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.444, allocations: 165.1 kB / 0.5833 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.4444, allocations: 164.8 kB / 0.5834 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.4445, allocations: 26.34 kB / 0.5834 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4447, allocations: 76.14 kB / 0.5835 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.4448, allocations: 69.17 kB / 0.5836 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.4448, allocations: 7.719 kB / 0.5836 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.445, allocations: 62.06 kB / 0.5836 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.4451, allocations: 43.47 kB / 0.5837 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.4451, allocations: 60.28 kB / 0.5837 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.4455, allocations: 198.9 kB / 0.5839 GB, free: 2.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4455, allocations: 0 / 0.5839 GB, free: 2.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4455, allocations: 4 kB / 0.5839 GB, free: 2.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4455, allocations: 0.75 kB / 0.5839 GB, free: 2.102 MB / 430.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.0007229/0.4462, allocations: 0.4895 MB / 0.5844 GB, free: 1.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4463, allocations: 10.38 kB / 0.5844 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.4463, allocations: 16.17 kB / 0.5844 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.4467, allocations: 249.2 kB / 0.5847 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4467, allocations: 3.328 kB / 0.5847 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4467, allocations: 8 kB / 0.5847 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.4469, allocations: 94.77 kB / 0.5848 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.447, allocations: 0.5625 kB / 0.5848 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.447, allocations: 1.156 kB / 0.5848 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.447, allocations: 3.094 kB / 0.5848 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.4471, allocations: 36.56 kB / 0.5848 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.4477, allocations: 349.4 kB / 0.5852 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.4479, allocations: 78.69 kB / 0.5852 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.448, allocations: 32.81 kB / 0.5853 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4481, allocations: 1.219 kB / 0.5853 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4483, allocations: 83.59 kB / 0.5853 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.4483, allocations: 5.5 kB / 0.5853 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004421/0.4488, allocations: 144 kB / 0.5855 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4488, allocations: 83.14 kB / 0.5856 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.4492, allocations: 265.1 kB / 0.5858 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4492, allocations: 27.86 kB / 0.5858 GB, free: 0.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.4493, allocations: 120.8 kB / 0.586 GB, free: 400 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.4493, allocations: 24.88 kB / 0.586 GB, free: 380 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.4494, allocations: 25.91 kB / 0.586 GB, free: 360 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.4495, allocations: 337 kB / 0.5863 GB, free: 24 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.4495, allocations: 26.77 kB / 0.5864 GB, free: 16 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4497, allocations: 62.41 kB / 0.5864 GB, free: 15.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4499, allocations: 73.53 kB / 0.5865 GB, free: 15.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4499, allocations: 0 / 0.5865 GB, free: 15.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000247/0.4501, allocations: 119.4 kB / 0.5866 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4502, allocations: 6.25 kB / 0.5866 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4502, allocations: 0 / 0.5866 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4502, allocations: 1.5 kB / 0.5866 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.4503, allocations: 10.48 kB / 0.5866 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4503, allocations: 1.531 kB / 0.5866 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.4504, allocations: 16.33 kB / 0.5866 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4504, allocations: 3.031 kB / 0.5866 GB, free: 15.85 MB / 446.1 MB 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.0001904/0.4506, allocations: 151.8 kB / 0.5868 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.4506, allocations: 15.59 kB / 0.5868 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.4507, allocations: 18.02 kB / 0.5868 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4507, allocations: 7.844 kB / 0.5868 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4507, allocations: 5.25 kB / 0.5868 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4507, allocations: 3.938 kB / 0.5868 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.451, allocations: 219.7 kB / 0.587 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.451, allocations: 0.6562 kB / 0.587 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.451, allocations: 4.125 kB / 0.587 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.451, allocations: 96 / 0.587 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4511, allocations: 10.83 kB / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4511, allocations: 0 / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4511, allocations: 0.5625 kB / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.4513, allocations: 148.3 kB / 0.5872 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.4514, allocations: 99.38 kB / 0.5873 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4515, allocations: 1.938 kB / 0.5873 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.4515, allocations: 3.328 kB / 0.5873 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.4516, allocations: 17.53 kB / 0.5873 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4516, allocations: 6.859 kB / 0.5873 GB, free: 15.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4518, allocations: 191.5 kB / 0.5875 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4518, allocations: 0 / 0.5875 GB, free: 15.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4521, allocations: 36.89 kB / 0.5875 GB, free: 15.12 MB / 446.1 MB 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.00108/0.4532, allocations: 415 kB / 0.5879 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.4534, allocations: 77.03 kB / 0.588 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4534, allocations: 0 / 0.588 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4535, allocations: 47.17 kB / 0.588 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.4539, allocations: 35.34 kB / 0.5881 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.4545, allocations: 305.3 kB / 0.5884 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.4549, allocations: 0.7215 MB / 0.5891 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.4549, allocations: 27.66 kB / 0.5891 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.455, allocations: 21.62 kB / 0.5891 GB, free: 14 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.455, allocations: 0 / 0.5891 GB, free: 14 MB / 446.1 MB Notification: Performance of Templates: time 0.006628/0.4616, allocations: 2.27 MB / 0.5913 GB, free: 13.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (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)