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.001184/0.001184, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001444/0.001445, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7957/0.7957, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 80.91 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002709/0.3486, allocations: 1.786 MB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3501, allocations: 1.021 MB / 0.5885 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.3502, allocations: 1.219 kB / 0.5885 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.3508, allocations: 163.1 kB / 0.5886 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.351, allocations: 114.5 kB / 0.5888 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.3514, allocations: 169.9 kB / 0.5889 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3516, allocations: 164.3 kB / 0.5891 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.3517, allocations: 25.53 kB / 0.5891 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.3518, allocations: 77.72 kB / 0.5892 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.3519, allocations: 71.34 kB / 0.5892 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3519, allocations: 8 kB / 0.5893 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.352, allocations: 63.95 kB / 0.5893 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3521, allocations: 35.91 kB / 0.5893 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.3521, allocations: 68.23 kB / 0.5894 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3524, allocations: 201.1 kB / 0.5896 GB, free: 22.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3524, allocations: 4.844 kB / 0.5896 GB, free: 22.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3524, allocations: 0 / 0.5896 GB, free: 22.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3524, allocations: 1.844 kB / 0.5896 GB, free: 22.59 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.0005396/0.3529, allocations: 496.2 kB / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.353, allocations: 13.09 kB / 0.5901 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.353, allocations: 18.72 kB / 0.5901 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3533, allocations: 248.8 kB / 0.5904 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3533, allocations: 384 / 0.5904 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3533, allocations: 8.125 kB / 0.5904 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3535, allocations: 89.09 kB / 0.5904 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3535, allocations: 3.938 kB / 0.5904 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3535, allocations: 0 / 0.5904 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.3535, allocations: 5.344 kB / 0.5905 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.3536, allocations: 35.98 kB / 0.5905 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.354, allocations: 353.2 kB / 0.5908 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.3542, allocations: 80.83 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.3542, allocations: 32.84 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3543, allocations: 1.438 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.3544, allocations: 83.36 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3544, allocations: 0.6875 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002783/0.3547, allocations: 142.4 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.3547, allocations: 81.11 kB / 0.5912 GB, free: 20.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3549, allocations: 268 kB / 0.5915 GB, free: 20.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3549, allocations: 25.7 kB / 0.5915 GB, free: 20.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.355, allocations: 116.1 kB / 0.5916 GB, free: 20.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.355, allocations: 24.52 kB / 0.5916 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3551, allocations: 26.22 kB / 0.5917 GB, free: 20.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3551, allocations: 336.3 kB / 0.592 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.3552, allocations: 31.92 kB / 0.592 GB, free: 19.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.3553, allocations: 61.2 kB / 0.5921 GB, free: 19.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.3554, allocations: 71.64 kB / 0.5921 GB, free: 19.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3554, allocations: 0 / 0.5921 GB, free: 19.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001563/0.3555, allocations: 117.4 kB / 0.5923 GB, free: 19.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3555, allocations: 8 kB / 0.5923 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3556, allocations: 0 / 0.5923 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3556, allocations: 5.438 kB / 0.5923 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.3556, allocations: 15.98 kB / 0.5923 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3557, allocations: 4 kB / 0.5923 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.3557, allocations: 12.38 kB / 0.5923 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3557, allocations: 4 kB / 0.5923 GB, free: 19.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 8.402e-05/0.3558, allocations: 145.3 kB / 0.5924 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3559, allocations: 17.31 kB / 0.5925 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.3559, allocations: 21.34 kB / 0.5925 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3559, allocations: 4 kB / 0.5925 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3559, allocations: 0 / 0.5925 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3559, allocations: 11.36 kB / 0.5925 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.3561, allocations: 217.6 kB / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3561, allocations: 0 / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.3561, allocations: 7.938 kB / 0.5927 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3561, allocations: 3.984 kB / 0.5927 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3561, allocations: 4 kB / 0.5927 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3561, allocations: 0 / 0.5927 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3561, allocations: 0 / 0.5927 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3563, allocations: 150 kB / 0.5929 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.3563, allocations: 93.39 kB / 0.5929 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3564, allocations: 4 kB / 0.593 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.3564, allocations: 10.19 kB / 0.593 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.3565, allocations: 11.94 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3565, allocations: 7.938 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.3566, allocations: 192.6 kB / 0.5932 GB, free: 18.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3566, allocations: 0.9062 kB / 0.5932 GB, free: 18.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.3568, allocations: 32 kB / 0.5932 GB, free: 18.6 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.00085/0.3577, allocations: 425.8 kB / 0.5936 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.3579, allocations: 76.83 kB / 0.5937 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3579, allocations: 1.344 kB / 0.5937 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.358, allocations: 35.98 kB / 0.5937 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3582, allocations: 30.02 kB / 0.5937 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.3586, allocations: 297.9 kB / 0.594 GB, free: 17.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3588, allocations: 0.7169 MB / 0.5947 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.3588, allocations: 28.78 kB / 0.5948 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.3589, allocations: 19.42 kB / 0.5948 GB, free: 17.14 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3589, allocations: 0 / 0.5948 GB, free: 17.14 MB / 446.1 MB Notification: Performance of Templates: time 0.004481/0.3634, allocations: 2.287 MB / 0.597 GB, free: 14.93 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)