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.001339/0.001339, allocations: 103.1 kB / 16.27 MB, free: 6.414 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.001349/0.001349, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8334/0.8334, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 80.93 MB / 0.5851 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003094/0.355, allocations: 1.773 MB / 0.5868 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3565, allocations: 1.021 MB / 0.5878 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3566, allocations: 2.469 kB / 0.5878 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.3573, allocations: 166.3 kB / 0.588 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.3576, allocations: 110.6 kB / 0.5881 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3581, allocations: 163.3 kB / 0.5882 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.3583, allocations: 171.2 kB / 0.5884 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3585, allocations: 24.16 kB / 0.5884 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3586, allocations: 69.95 kB / 0.5885 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3587, allocations: 76.89 kB / 0.5885 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3588, allocations: 7.781 kB / 0.5885 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3589, allocations: 54.67 kB / 0.5886 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.359, allocations: 37.41 kB / 0.5886 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3591, allocations: 63.72 kB / 0.5887 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3593, allocations: 200 kB / 0.5889 GB, free: 22.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3594, allocations: 0.7812 kB / 0.5889 GB, free: 22.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3594, allocations: 1.469 kB / 0.5889 GB, free: 22.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3594, allocations: 0.625 kB / 0.5889 GB, free: 22.7 MB / 446.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.0006651/0.3601, allocations: 0.4891 MB / 0.5894 GB, free: 22.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3601, allocations: 10.05 kB / 0.5894 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.3602, allocations: 16.38 kB / 0.5894 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3604, allocations: 249.9 kB / 0.5896 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3604, allocations: 5.938 kB / 0.5896 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3604, allocations: 8.125 kB / 0.5896 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3606, allocations: 87.81 kB / 0.5897 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3606, allocations: 4 kB / 0.5897 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3606, allocations: 0.8438 kB / 0.5897 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.3606, allocations: 4 kB / 0.5897 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.3607, allocations: 40.81 kB / 0.5898 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3611, allocations: 353.6 kB / 0.5901 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.3613, allocations: 73.8 kB / 0.5902 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.3614, allocations: 36.78 kB / 0.5902 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3614, allocations: 0 / 0.5902 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3616, allocations: 86 kB / 0.5903 GB, free: 21.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3616, allocations: 0 / 0.5903 GB, free: 21.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002939/0.3619, allocations: 145.4 kB / 0.5904 GB, free: 21.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.3619, allocations: 77.22 kB / 0.5905 GB, free: 20.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3621, allocations: 267.8 kB / 0.5908 GB, free: 20.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3621, allocations: 33.7 kB / 0.5908 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.3622, allocations: 113.2 kB / 0.5909 GB, free: 20.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3622, allocations: 27.69 kB / 0.5909 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.3623, allocations: 29.7 kB / 0.591 GB, free: 20.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.3623, allocations: 331.5 kB / 0.5913 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.3624, allocations: 28.92 kB / 0.5913 GB, free: 20.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.3624, allocations: 52.42 kB / 0.5914 GB, free: 20.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3626, allocations: 85.06 kB / 0.5914 GB, free: 19.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3626, allocations: 0 / 0.5914 GB, free: 19.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001562/0.3627, allocations: 113.4 kB / 0.5915 GB, free: 19.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3627, allocations: 6.188 kB / 0.5916 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3628, allocations: 3.984 kB / 0.5916 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3628, allocations: 0 / 0.5916 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.3628, allocations: 13.22 kB / 0.5916 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3629, allocations: 0 / 0.5916 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.3629, allocations: 27.72 kB / 0.5916 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.3629, allocations: 0.9688 kB / 0.5916 GB, free: 19.76 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 9.395e-05/0.363, allocations: 150.9 kB / 0.5917 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3631, allocations: 15.81 kB / 0.5918 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.3631, allocations: 15 kB / 0.5918 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3631, allocations: 4 kB / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3631, allocations: 3.984 kB / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3631, allocations: 3.938 kB / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3633, allocations: 223.2 kB / 0.592 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3633, allocations: 0 / 0.592 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.3633, allocations: 0 / 0.592 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3633, allocations: 4 kB / 0.592 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3633, allocations: 4 kB / 0.592 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3633, allocations: 4.438 kB / 0.592 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3633, allocations: 2.531 kB / 0.592 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3635, allocations: 148.8 kB / 0.5921 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.3636, allocations: 92.86 kB / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3636, allocations: 4 kB / 0.5922 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.3637, allocations: 10.11 kB / 0.5923 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3637, allocations: 4 kB / 0.5923 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3637, allocations: 3.938 kB / 0.5923 GB, free: 19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3639, allocations: 196.6 kB / 0.5924 GB, free: 18.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3639, allocations: 8.531 kB / 0.5925 GB, free: 18.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3641, allocations: 28 kB / 0.5925 GB, free: 18.77 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.001481/0.3656, allocations: 426.5 kB / 0.5929 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3658, allocations: 75.95 kB / 0.593 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3658, allocations: 5.125 kB / 0.593 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.3659, allocations: 35.92 kB / 0.593 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3662, allocations: 38.81 kB / 0.593 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.3667, allocations: 336 kB / 0.5934 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.3669, allocations: 0.73 MB / 0.5941 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3669, allocations: 15.44 kB / 0.5941 GB, free: 17.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3669, allocations: 0 / 0.5941 GB, free: 17.28 MB / 446.1 MB Notification: Performance of Templates: time 0.003859/0.3708, allocations: 2.562 MB / 0.5966 GB, free: 14.76 MB / 446.1 MB 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)