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.0008333/0.0008334, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005363/0.005363, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8621/0.8621, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 12.91 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4636, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001973/0.4656, allocations: 1.492 MB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.467, allocations: 0.989 MB / 0.5861 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.4671, allocations: 4.906 kB / 0.5861 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.4677, allocations: 157 kB / 0.5862 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.4679, allocations: 94.27 kB / 0.5863 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.4684, allocations: 151 kB / 0.5865 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.4686, allocations: 168.8 kB / 0.5866 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4687, allocations: 25.86 kB / 0.5867 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4688, allocations: 64.69 kB / 0.5867 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4689, allocations: 60.66 kB / 0.5868 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.469, allocations: 2.531 kB / 0.5868 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4691, allocations: 55.05 kB / 0.5868 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.4692, allocations: 35.66 kB / 0.5869 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.4692, allocations: 82.03 kB / 0.587 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.4695, allocations: 185.8 kB / 0.5871 GB, free: 1.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4695, allocations: 4 kB / 0.5871 GB, free: 1.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4696, allocations: 0 / 0.5871 GB, free: 1.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.4696, allocations: 0.875 kB / 0.5871 GB, free: 1.828 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.0005863/0.4702, allocations: 476.2 kB / 0.5876 GB, free: 1.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4702, allocations: 9.312 kB / 0.5876 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4702, allocations: 20.23 kB / 0.5876 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.4705, allocations: 242.7 kB / 0.5879 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4705, allocations: 2.469 kB / 0.5879 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.4706, allocations: 11.53 kB / 0.5879 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4707, allocations: 90.47 kB / 0.588 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.4707, allocations: 1.344 kB / 0.588 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4708, allocations: 0.6562 kB / 0.588 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.4708, allocations: 7.781 kB / 0.588 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.4709, allocations: 35.72 kB / 0.588 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4714, allocations: 358.3 kB / 0.5883 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4716, allocations: 78.02 kB / 0.5884 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.4716, allocations: 33.42 kB / 0.5884 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4717, allocations: 1.406 kB / 0.5884 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.4718, allocations: 87.84 kB / 0.5885 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.4718, allocations: 0 / 0.5885 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003483/0.4722, allocations: 140.8 kB / 0.5887 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.4722, allocations: 83.7 kB / 0.5887 GB, free: 432 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.4725, allocations: 257.9 kB / 0.589 GB, free: 280 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4725, allocations: 26.39 kB / 0.589 GB, free: 248 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.4726, allocations: 120.4 kB / 0.5891 GB, free: 136 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4727, allocations: 29.88 kB / 0.5892 GB, free: 112 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.4727, allocations: 24.81 kB / 0.5892 GB, free: 88 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4729, allocations: 333.1 kB / 0.5895 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.152e-05/0.473, allocations: 25.84 kB / 0.5895 GB, free: 15.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.4731, allocations: 55.61 kB / 0.5896 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4732, allocations: 70.08 kB / 0.5896 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4732, allocations: 8.812 kB / 0.5897 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000243/0.4735, allocations: 121 kB / 0.5898 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4735, allocations: 5.719 kB / 0.5898 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4735, allocations: 1.531 kB / 0.5898 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4735, allocations: 0.7188 kB / 0.5898 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.4736, allocations: 11.31 kB / 0.5898 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4736, allocations: 1.438 kB / 0.5898 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.4737, allocations: 18.36 kB / 0.5898 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.4737, allocations: 1.594 kB / 0.5898 GB, free: 15.59 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.0002065/0.4739, allocations: 148.3 kB / 0.5899 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.474, allocations: 14.81 kB / 0.59 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.474, allocations: 19.05 kB / 0.59 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.474, allocations: 7.578 kB / 0.59 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4741, allocations: 0 / 0.59 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4741, allocations: 5.219 kB / 0.59 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.4743, allocations: 214.7 kB / 0.5902 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4743, allocations: 1.344 kB / 0.5902 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.4743, allocations: 15.59 kB / 0.5902 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4744, allocations: 1.672 kB / 0.5902 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4744, allocations: 2.062 kB / 0.5902 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4744, allocations: 0.9062 kB / 0.5902 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4744, allocations: 0 / 0.5902 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.4746, allocations: 152.1 kB / 0.5904 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.4747, allocations: 104 kB / 0.5905 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4748, allocations: 6.453 kB / 0.5905 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.4748, allocations: 9.484 kB / 0.5905 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4749, allocations: 5.141 kB / 0.5905 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4749, allocations: 12.17 kB / 0.5905 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.4752, allocations: 194.2 kB / 0.5907 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4752, allocations: 0 / 0.5907 GB, free: 14.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.4754, allocations: 32.72 kB / 0.5907 GB, free: 14.86 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.001043/0.4765, allocations: 428.1 kB / 0.5911 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.4767, allocations: 73.95 kB / 0.5912 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4767, allocations: 0 / 0.5912 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.4768, allocations: 33.55 kB / 0.5912 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4772, allocations: 31.41 kB / 0.5912 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.4778, allocations: 332.7 kB / 0.5916 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4781, allocations: 0.7303 MB / 0.5923 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.4782, allocations: 24.12 kB / 0.5923 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.4783, allocations: 24.56 kB / 0.5923 GB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4783, allocations: 0 / 0.5923 GB, free: 13.7 MB / 446.1 MB Notification: Performance of Templates: time 0.006689/0.485, allocations: 2.143 MB / 0.5944 GB, free: 13.5 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)