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.001178/0.001178, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001246/0.001246, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.338/1.338, 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-master/package.mo): time 0.7997/0.7997, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 66.98 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003148/0.1342, allocations: 1.774 MB / 0.667 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1359, allocations: 1.03 MB / 0.668 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1361, allocations: 3.938 kB / 0.668 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.1367, allocations: 163.5 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.137, allocations: 115.6 kB / 0.6683 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.1375, allocations: 167 kB / 0.6685 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.1378, allocations: 163.6 kB / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1379, allocations: 24.86 kB / 0.6687 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.138, allocations: 79.69 kB / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1381, allocations: 63.75 kB / 0.6688 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1382, allocations: 8 kB / 0.6688 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1383, allocations: 63.91 kB / 0.6689 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.1384, allocations: 47.83 kB / 0.6689 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.1385, allocations: 59.61 kB / 0.669 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1388, allocations: 199.3 kB / 0.6692 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1388, allocations: 0 / 0.6692 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1388, allocations: 0 / 0.6692 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1388, allocations: 0 / 0.6692 GB, free: 1.844 MB / 0.4981 GB 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.0007136/0.1396, allocations: 0.4886 MB / 0.6696 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1396, allocations: 9.109 kB / 0.6696 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.1397, allocations: 16.75 kB / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.14, allocations: 256.8 kB / 0.6699 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.14, allocations: 4.375 kB / 0.6699 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.14, allocations: 8.062 kB / 0.6699 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1402, allocations: 95.38 kB / 0.67 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1402, allocations: 0 / 0.67 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1403, allocations: 0 / 0.67 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.1403, allocations: 7.984 kB / 0.67 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.1404, allocations: 35.92 kB / 0.67 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.1409, allocations: 348.7 kB / 0.6704 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1411, allocations: 78.67 kB / 0.6705 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.1412, allocations: 36.78 kB / 0.6705 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1413, allocations: 0 / 0.6705 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1414, allocations: 79.39 kB / 0.6706 GB, free: 224 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.1414, allocations: 0 / 0.6706 GB, free: 224 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003486/0.1418, allocations: 149.4 kB / 0.6707 GB, free: 68 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1419, allocations: 81.11 kB / 0.6708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1422, allocations: 262.8 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1422, allocations: 29.7 kB / 0.6711 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.1423, allocations: 120 kB / 0.6712 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1423, allocations: 23.73 kB / 0.6712 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.1424, allocations: 21.72 kB / 0.6712 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1425, allocations: 334.8 kB / 0.6715 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.1426, allocations: 27.98 kB / 0.6716 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/0.1427, allocations: 63.42 kB / 0.6716 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1428, allocations: 74.06 kB / 0.6717 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1428, allocations: 7.938 kB / 0.6717 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002012/0.143, allocations: 117.4 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1431, allocations: 4 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1431, allocations: 64 / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1431, allocations: 4 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.1432, allocations: 15.98 kB / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1432, allocations: 3.938 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.1433, allocations: 11.84 kB / 0.6719 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1433, allocations: 4 kB / 0.6719 GB, free: 14.81 MB / 0.5137 GB 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.000125/0.1434, allocations: 147.1 kB / 0.672 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1434, allocations: 15.81 kB / 0.672 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.1435, allocations: 21.39 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.1435, allocations: 4 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1435, allocations: 0 / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.1435, allocations: 3.938 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1437, allocations: 221.6 kB / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1437, allocations: 3.984 kB / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.1438, allocations: 4 kB / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1438, allocations: 0 / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1438, allocations: 0 / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1438, allocations: 0 / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1438, allocations: 0 / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.144, allocations: 156.8 kB / 0.6724 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1441, allocations: 88.92 kB / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1441, allocations: 0 / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.1442, allocations: 4 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1442, allocations: 15.92 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1442, allocations: 3.938 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001858/0.1444, allocations: 192.6 kB / 0.6727 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1444, allocations: 4 kB / 0.6727 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002651/0.1447, allocations: 31.89 kB / 0.6727 GB, free: 13.81 MB / 0.5137 GB 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.0009527/0.1457, allocations: 434.2 kB / 0.6731 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1459, allocations: 71.97 kB / 0.6732 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1459, allocations: 0 / 0.6732 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.146, allocations: 44.08 kB / 0.6733 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1463, allocations: 47.61 kB / 0.6733 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.1469, allocations: 324.7 kB / 0.6736 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1472, allocations: 0.724 MB / 0.6743 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1472, allocations: 19.44 kB / 0.6743 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1472, allocations: 0 / 0.6743 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.004599/0.1518, allocations: 2.557 MB / 0.6768 GB, free: 9.711 MB / 0.5137 GB 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)