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.001028/0.001028, allocations: 110.3 kB / 16.37 MB, free: 6.477 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.0009973/0.0009973, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.78/0.78, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 63.89 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3884, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003445/0.3919, allocations: 1.778 MB / 0.5875 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3933, allocations: 1.019 MB / 0.5885 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.3934, allocations: 6.469 kB / 0.5885 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.394, allocations: 162.2 kB / 0.5886 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.3942, allocations: 114.4 kB / 0.5888 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.3947, allocations: 169.3 kB / 0.5889 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.3949, allocations: 167.6 kB / 0.5891 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3951, allocations: 30.03 kB / 0.5891 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.3952, allocations: 72 kB / 0.5892 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.3953, allocations: 69.06 kB / 0.5892 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.3953, allocations: 8.094 kB / 0.5893 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3954, allocations: 66.83 kB / 0.5893 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.3955, allocations: 45.31 kB / 0.5894 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.3956, allocations: 60.11 kB / 0.5894 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3958, allocations: 206.9 kB / 0.5896 GB, free: 22.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3958, allocations: 0 / 0.5896 GB, free: 22.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3958, allocations: 1.188 kB / 0.5896 GB, free: 22.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3958, allocations: 0 / 0.5896 GB, free: 22.61 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.0005514/0.3964, allocations: 495.2 kB / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.3964, allocations: 9.109 kB / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.3965, allocations: 18.31 kB / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3967, allocations: 256.7 kB / 0.5904 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3967, allocations: 8.375 kB / 0.5904 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3968, allocations: 4.781 kB / 0.5904 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3969, allocations: 86.75 kB / 0.5905 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3969, allocations: 4 kB / 0.5905 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3969, allocations: 4 kB / 0.5905 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.397, allocations: 2.406 kB / 0.5905 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.3971, allocations: 35.92 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.3975, allocations: 356.7 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3976, allocations: 72.83 kB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.3977, allocations: 40.78 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3977, allocations: 0.9062 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.3978, allocations: 76.64 kB / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3979, allocations: 0 / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002779/0.3981, allocations: 143.3 kB / 0.5912 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.3982, allocations: 85.09 kB / 0.5912 GB, free: 20.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.3984, allocations: 266.7 kB / 0.5915 GB, free: 20.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.3984, allocations: 29.7 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.3984, allocations: 118.1 kB / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3985, allocations: 16 kB / 0.5916 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3985, allocations: 33.69 kB / 0.5917 GB, free: 20.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.3986, allocations: 330.8 kB / 0.592 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.3986, allocations: 32.52 kB / 0.592 GB, free: 19.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.3987, allocations: 57.5 kB / 0.5921 GB, free: 19.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.3988, allocations: 74.23 kB / 0.5922 GB, free: 19.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3988, allocations: 1.422 kB / 0.5922 GB, free: 19.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001606/0.399, allocations: 121.4 kB / 0.5923 GB, free: 19.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.399, allocations: 4 kB / 0.5923 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.399, allocations: 1.375 kB / 0.5923 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.399, allocations: 0 / 0.5923 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.3991, allocations: 15.98 kB / 0.5923 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3991, allocations: 3.938 kB / 0.5923 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.3992, allocations: 23.25 kB / 0.5923 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3992, allocations: 0 / 0.5923 GB, free: 19.61 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.392e-05/0.3993, allocations: 144 kB / 0.5925 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.3993, allocations: 15.81 kB / 0.5925 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.3994, allocations: 17.39 kB / 0.5925 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3994, allocations: 4 kB / 0.5925 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3994, allocations: 4.562 kB / 0.5925 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3994, allocations: 3.938 kB / 0.5925 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3995, allocations: 218.2 kB / 0.5927 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3995, allocations: 4.531 kB / 0.5927 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.3996, allocations: 0 / 0.5927 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3996, allocations: 10.17 kB / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3996, allocations: 0 / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3996, allocations: 0 / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3996, allocations: 0 / 0.5927 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.3998, allocations: 153.8 kB / 0.5929 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.3998, allocations: 99.06 kB / 0.593 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3999, allocations: 4 kB / 0.593 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.3999, allocations: 4 kB / 0.593 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4, allocations: 7.969 kB / 0.593 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4, allocations: 7.938 kB / 0.593 GB, free: 18.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.4001, allocations: 193.2 kB / 0.5932 GB, free: 18.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4001, allocations: 0 / 0.5932 GB, free: 18.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.4004, allocations: 36.95 kB / 0.5932 GB, free: 18.62 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.0009041/0.4013, allocations: 422.3 kB / 0.5936 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.4015, allocations: 71.97 kB / 0.5937 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4015, allocations: 0.6562 kB / 0.5937 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.4016, allocations: 40.06 kB / 0.5937 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.4018, allocations: 43.75 kB / 0.5938 GB, free: 18.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.4023, allocations: 287.3 kB / 0.594 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.4024, allocations: 0.724 MB / 0.5947 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.4025, allocations: 18.67 kB / 0.5948 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.4025, allocations: 20.72 kB / 0.5948 GB, free: 17.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4025, allocations: 0 / 0.5948 GB, free: 17.16 MB / 446.1 MB Notification: Performance of Templates: time 0.004612/0.4071, allocations: 2.29 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)