Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001149/0.001149, allocations: 96.58 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 173.4 kB / 16.57 MB, free: 6.398 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003127, allocations: 16 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 77.16 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001968/0.1448, allocations: 1.447 MB / 0.5583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1462, allocations: 0.9135 MB / 0.5591 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.1464, allocations: 4 kB / 0.5591 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.1469, allocations: 135.7 kB / 0.5593 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1472, allocations: 99.72 kB / 0.5594 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.1476, allocations: 143.1 kB / 0.5595 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1478, allocations: 103.8 kB / 0.5596 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.1479, allocations: 21.11 kB / 0.5596 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.148, allocations: 55.77 kB / 0.5597 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.1481, allocations: 63.75 kB / 0.5597 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1481, allocations: 3.938 kB / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1483, allocations: 39.91 kB / 0.5598 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1483, allocations: 39.89 kB / 0.5598 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.1484, allocations: 49.58 kB / 0.5599 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1486, allocations: 148 kB / 0.56 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1486, allocations: 0 / 0.56 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1486, allocations: 0 / 0.56 GB, free: 8.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1486, allocations: 0 / 0.56 GB, free: 8.328 MB / 430.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.0006308/0.1493, allocations: 484.3 kB / 0.5605 GB, free: 7.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1493, allocations: 12.02 kB / 0.5605 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1493, allocations: 15.81 kB / 0.5605 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1496, allocations: 239.6 kB / 0.5607 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1497, allocations: 8 kB / 0.5607 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1497, allocations: 4 kB / 0.5607 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1499, allocations: 91.09 kB / 0.5608 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1499, allocations: 3.953 kB / 0.5608 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1499, allocations: 0 / 0.5608 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1499, allocations: 4 kB / 0.5608 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.15, allocations: 39.91 kB / 0.5609 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.1505, allocations: 356.7 kB / 0.5612 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1507, allocations: 78.56 kB / 0.5613 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1507, allocations: 0 / 0.5613 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.1509, allocations: 83.44 kB / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1509, allocations: 0 / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003552/0.1513, allocations: 222.6 kB / 0.5616 GB, free: 6.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1513, allocations: 81.09 kB / 0.5617 GB, free: 6.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.1516, allocations: 263.5 kB / 0.5619 GB, free: 6.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1516, allocations: 29.98 kB / 0.5619 GB, free: 6.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.1517, allocations: 120 kB / 0.562 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1517, allocations: 19.73 kB / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1517, allocations: 11.92 kB / 0.5621 GB, free: 5.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1518, allocations: 326.8 kB / 0.5624 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.1519, allocations: 31.98 kB / 0.5624 GB, free: 5.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.152, allocations: 51.42 kB / 0.5625 GB, free: 5.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.1521, allocations: 43.94 kB / 0.5625 GB, free: 5.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1521, allocations: 0 / 0.5625 GB, free: 5.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000204/0.1523, allocations: 125.3 kB / 0.5626 GB, free: 5.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1523, allocations: 6.188 kB / 0.5626 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1523, allocations: 0 / 0.5626 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1523, allocations: 7.984 kB / 0.5626 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.1524, allocations: 8 kB / 0.5627 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1524, allocations: 0 / 0.5627 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.1525, allocations: 7.984 kB / 0.5627 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1525, allocations: 4 kB / 0.5627 GB, free: 5.344 MB / 430.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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.1527, allocations: 145.8 kB / 0.5628 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1527, allocations: 19.77 kB / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1527, allocations: 21.39 kB / 0.5628 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.1528, allocations: 4 kB / 0.5628 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1528, allocations: 0 / 0.5628 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1528, allocations: 112 / 0.5628 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.153, allocations: 225.5 kB / 0.5631 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.153, allocations: 4 kB / 0.5631 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.153, allocations: 4 kB / 0.5631 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.153, allocations: 3.953 kB / 0.5631 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.153, allocations: 11.98 kB / 0.5631 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.153, allocations: 0 / 0.5631 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.153, allocations: 0 / 0.5631 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1533, allocations: 152.8 kB / 0.5632 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1533, allocations: 92.91 kB / 0.5633 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1534, allocations: 7.953 kB / 0.5633 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.1534, allocations: 8 kB / 0.5633 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1535, allocations: 7.984 kB / 0.5633 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1535, allocations: 4 kB / 0.5633 GB, free: 4.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.1537, allocations: 196.4 kB / 0.5635 GB, free: 4.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1537, allocations: 0 / 0.5635 GB, free: 4.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1539, allocations: 28 kB / 0.5636 GB, free: 4.328 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009017/0.1548, allocations: 424.7 kB / 0.564 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1551, allocations: 75.91 kB / 0.564 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1551, allocations: 0 / 0.564 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.1552, allocations: 36 kB / 0.5641 GB, free: 3.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1554, allocations: 27.97 kB / 0.5641 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.1559, allocations: 322.1 kB / 0.5644 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1562, allocations: 0.7282 MB / 0.5651 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.1563, allocations: 29.72 kB / 0.5651 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.1563, allocations: 19.44 kB / 0.5652 GB, free: 2.809 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1563, allocations: 0 / 0.5652 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Templates: time 0.005145/0.1615, allocations: 2.098 MB / 0.5672 GB, free: 0.7344 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)