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.001133/0.001133, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001099/0.001099, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8084/0.8084, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3473, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003234/0.3506, allocations: 1.781 MB / 0.5832 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3522, allocations: 1.026 MB / 0.5842 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3524, allocations: 5.281 kB / 0.5842 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.353, allocations: 162.3 kB / 0.5844 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.3533, allocations: 114.3 kB / 0.5845 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.3538, allocations: 168.3 kB / 0.5847 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.354, allocations: 163.3 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3541, allocations: 29.03 kB / 0.5848 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.3542, allocations: 71.75 kB / 0.5849 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.3543, allocations: 69.97 kB / 0.585 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3543, allocations: 7.562 kB / 0.585 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3545, allocations: 62.69 kB / 0.585 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3545, allocations: 39.81 kB / 0.5851 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.3546, allocations: 63.88 kB / 0.5851 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3549, allocations: 200.6 kB / 0.5853 GB, free: 24.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3549, allocations: 0 / 0.5853 GB, free: 24.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3549, allocations: 1.969 kB / 0.5853 GB, free: 24.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3549, allocations: 0 / 0.5853 GB, free: 24.73 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.0005952/0.3555, allocations: 0.4899 MB / 0.5858 GB, free: 24.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.3556, allocations: 8.875 kB / 0.5858 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.3556, allocations: 24.52 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3559, allocations: 236.6 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3559, allocations: 3.688 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.356, allocations: 6.312 kB / 0.5861 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3562, allocations: 96.98 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3562, allocations: 6.031 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3562, allocations: 0 / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.3562, allocations: 3.344 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.3563, allocations: 36.39 kB / 0.5862 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.3568, allocations: 360.3 kB / 0.5866 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.357, allocations: 75.27 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.357, allocations: 33.84 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3571, allocations: 1.125 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.3573, allocations: 91.86 kB / 0.5868 GB, free: 23.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3573, allocations: 0 / 0.5868 GB, free: 23.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003402/0.3576, allocations: 140.3 kB / 0.5869 GB, free: 23.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.3577, allocations: 84.02 kB / 0.587 GB, free: 23.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3579, allocations: 260.4 kB / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3579, allocations: 27.02 kB / 0.5872 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.358, allocations: 122.3 kB / 0.5874 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.358, allocations: 23.64 kB / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3581, allocations: 26.84 kB / 0.5874 GB, free: 22.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.3582, allocations: 333.2 kB / 0.5877 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.3582, allocations: 25.89 kB / 0.5877 GB, free: 22.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.3583, allocations: 59.77 kB / 0.5878 GB, free: 22.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3584, allocations: 72.86 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3584, allocations: 9.281 kB / 0.5879 GB, free: 22.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000183/0.3586, allocations: 115.2 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3587, allocations: 6.344 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3587, allocations: 0.625 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3587, allocations: 3.75 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.3588, allocations: 12.23 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3588, allocations: 1.156 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.3589, allocations: 16.38 kB / 0.588 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3589, allocations: 6.25 kB / 0.588 GB, free: 22.29 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.0001059/0.359, allocations: 144.6 kB / 0.5882 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.359, allocations: 19.75 kB / 0.5882 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.3591, allocations: 24.47 kB / 0.5882 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3591, allocations: 2.281 kB / 0.5882 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3591, allocations: 2.562 kB / 0.5882 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3591, allocations: 7.922 kB / 0.5882 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3593, allocations: 223.5 kB / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3593, allocations: 0.625 kB / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.3593, allocations: 5.188 kB / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3593, allocations: 0 / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3593, allocations: 1.594 kB / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.3593, allocations: 1.594 kB / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3593, allocations: 0 / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.3596, allocations: 151.8 kB / 0.5886 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.3596, allocations: 93.36 kB / 0.5887 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3597, allocations: 1.312 kB / 0.5887 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.3597, allocations: 11.27 kB / 0.5887 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3598, allocations: 3.688 kB / 0.5887 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3598, allocations: 7.469 kB / 0.5887 GB, free: 21.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3599, allocations: 191.8 kB / 0.5889 GB, free: 21.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3599, allocations: 3.656 kB / 0.5889 GB, free: 21.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3602, allocations: 33.59 kB / 0.5889 GB, free: 21.52 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.0008977/0.3611, allocations: 421.2 kB / 0.5893 GB, free: 21.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3613, allocations: 73.72 kB / 0.5894 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3613, allocations: 0 / 0.5894 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.3614, allocations: 41.98 kB / 0.5894 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3617, allocations: 35.23 kB / 0.5895 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.3622, allocations: 302.5 kB / 0.5898 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.3623, allocations: 0.719 MB / 0.5905 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.3624, allocations: 25.38 kB / 0.5905 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.3624, allocations: 20.73 kB / 0.5905 GB, free: 20.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3625, allocations: 0 / 0.5905 GB, free: 20.34 MB / 446.1 MB Notification: Performance of Templates: time 0.005585/0.368, allocations: 2.28 MB / 0.5927 GB, free: 18.55 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)