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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8073/0.8073, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 403.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 112.6 kB / 484.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1343, allocations: 80.21 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003083/0.1374, allocations: 1.836 MB / 0.642 GB, free: 4.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.139, allocations: 1.018 MB / 0.643 GB, free: 3.895 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.1391, allocations: 4 kB / 0.643 GB, free: 3.891 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.1397, allocations: 151.6 kB / 0.6431 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.14, allocations: 95.75 kB / 0.6432 GB, free: 3.648 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1404, allocations: 161.8 kB / 0.6433 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1406, allocations: 167.6 kB / 0.6435 GB, free: 3.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1408, allocations: 25.09 kB / 0.6435 GB, free: 3.301 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1409, allocations: 63.66 kB / 0.6436 GB, free: 3.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.141, allocations: 59.75 kB / 0.6436 GB, free: 3.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.141, allocations: 4 kB / 0.6437 GB, free: 3.176 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1412, allocations: 51.97 kB / 0.6437 GB, free: 3.125 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.1412, allocations: 43.83 kB / 0.6437 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.1413, allocations: 55.61 kB / 0.6438 GB, free: 3.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1416, allocations: 191.7 kB / 0.644 GB, free: 2.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1416, allocations: 0 / 0.644 GB, free: 2.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1416, allocations: 0 / 0.644 GB, free: 2.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1416, allocations: 0 / 0.644 GB, free: 2.84 MB / 442.7 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.0008037/0.1424, allocations: 0.4924 MB / 0.6445 GB, free: 2.293 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1425, allocations: 8.031 kB / 0.6445 GB, free: 2.285 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.1425, allocations: 20.66 kB / 0.6445 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.1428, allocations: 246.2 kB / 0.6447 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1429, allocations: 4.375 kB / 0.6447 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1429, allocations: 12.11 kB / 0.6447 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1431, allocations: 91.31 kB / 0.6448 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1431, allocations: 0 / 0.6448 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1431, allocations: 0 / 0.6448 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1431, allocations: 7.938 kB / 0.6448 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.1432, allocations: 39.97 kB / 0.6449 GB, free: 1.824 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1437, allocations: 344.7 kB / 0.6452 GB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1439, allocations: 82.61 kB / 0.6453 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.144, allocations: 32.84 kB / 0.6453 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.144, allocations: 0 / 0.6453 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1442, allocations: 83.38 kB / 0.6454 GB, free: 1.219 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.1442, allocations: 112 / 0.6454 GB, free: 1.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003292/0.1445, allocations: 145.3 kB / 0.6455 GB, free: 1.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.1446, allocations: 85.09 kB / 0.6456 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1448, allocations: 259 kB / 0.6459 GB, free: 0.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1449, allocations: 25.7 kB / 0.6459 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.1449, allocations: 116.1 kB / 0.646 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.145, allocations: 27.64 kB / 0.646 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.145, allocations: 29.72 kB / 0.646 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1452, allocations: 334.8 kB / 0.6464 GB, free: 164 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.1452, allocations: 31.92 kB / 0.6464 GB, free: 132 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.1453, allocations: 59.41 kB / 0.6465 GB, free: 60 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1455, allocations: 78.12 kB / 0.6465 GB, free: 15.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1455, allocations: 0 / 0.6465 GB, free: 15.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001766/0.1456, allocations: 113.4 kB / 0.6466 GB, free: 15.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1457, allocations: 4 kB / 0.6466 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1457, allocations: 4 kB / 0.6466 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1457, allocations: 3.984 kB / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.1458, allocations: 11.94 kB / 0.6467 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1458, allocations: 0 / 0.6467 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.1458, allocations: 11.84 kB / 0.6467 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1459, allocations: 4 kB / 0.6467 GB, free: 15.82 MB / 458.7 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.0001133/0.146, allocations: 153.8 kB / 0.6468 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.146, allocations: 15.81 kB / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.1461, allocations: 17.41 kB / 0.6469 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.1461, allocations: 8 kB / 0.6469 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1461, allocations: 0 / 0.6469 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1461, allocations: 7.922 kB / 0.6469 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1463, allocations: 221.4 kB / 0.6471 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1463, allocations: 0 / 0.6471 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.1463, allocations: 8 kB / 0.6471 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1463, allocations: 3.938 kB / 0.6471 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1463, allocations: 4 kB / 0.6471 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1463, allocations: 3.938 kB / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1463, allocations: 0 / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.1468, allocations: 0.7449 MB / 0.6478 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1469, allocations: 96.91 kB / 0.6479 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1469, allocations: 7.938 kB / 0.6479 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.147, allocations: 4 kB / 0.6479 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.147, allocations: 3.984 kB / 0.6479 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.147, allocations: 7.938 kB / 0.6479 GB, free: 14.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1472, allocations: 196.4 kB / 0.6481 GB, free: 14.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1472, allocations: 0 / 0.6481 GB, free: 14.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.1475, allocations: 35.98 kB / 0.6482 GB, free: 14.15 MB / 458.7 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.0008654/0.1484, allocations: 421.2 kB / 0.6486 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1486, allocations: 75.91 kB / 0.6486 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1486, allocations: 0 / 0.6486 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.1487, allocations: 39.86 kB / 0.6487 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.149, allocations: 49.12 kB / 0.6487 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.1495, allocations: 471.6 kB / 0.6492 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1498, allocations: 0.7321 MB / 0.6499 GB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.741e-05/0.1499, allocations: 21.72 kB / 0.6499 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1499, allocations: 15.44 kB / 0.6499 GB, free: 12.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1499, allocations: 0 / 0.6499 GB, free: 12.45 MB / 458.7 MB Notification: Performance of Templates: time 0.00463/0.1546, allocations: 2.221 MB / 0.6521 GB, free: 10.24 MB / 458.7 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)