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.00105/0.00105, allocations: 88.17 kB / 15.7 MB, free: 460 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.001317/0.001316, allocations: 174.3 kB / 16.58 MB, free: 6.852 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.376/1.376, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6886/0.6886, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 16 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 77.52 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001888/0.1372, allocations: 1.464 MB / 0.5608 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1386, allocations: 0.9292 MB / 0.5617 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.1387, allocations: 3.938 kB / 0.5617 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.1393, allocations: 155.6 kB / 0.5618 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1395, allocations: 95.7 kB / 0.5619 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1399, allocations: 140.3 kB / 0.562 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1401, allocations: 147.6 kB / 0.5622 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.1402, allocations: 25.09 kB / 0.5622 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1403, allocations: 63.7 kB / 0.5623 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.1404, allocations: 59.75 kB / 0.5623 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1404, allocations: 4 kB / 0.5623 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1406, allocations: 47.92 kB / 0.5624 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.1406, allocations: 39.88 kB / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1407, allocations: 49.64 kB / 0.5625 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1409, allocations: 144 kB / 0.5626 GB, free: 6.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1409, allocations: 4 kB / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1409, allocations: 0 / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.1409, allocations: 3.938 kB / 0.5626 GB, free: 6.043 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.0005915/0.1415, allocations: 472.3 kB / 0.5631 GB, free: 5.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1415, allocations: 12.03 kB / 0.5631 GB, free: 5.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1416, allocations: 11.81 kB / 0.5631 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1419, allocations: 239.7 kB / 0.5633 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1419, allocations: 8 kB / 0.5633 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1419, allocations: 8 kB / 0.5633 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1421, allocations: 87.31 kB / 0.5634 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1421, allocations: 3.953 kB / 0.5634 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1421, allocations: 4 kB / 0.5634 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.1422, allocations: 4 kB / 0.5634 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.1423, allocations: 31.97 kB / 0.5634 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1427, allocations: 352.7 kB / 0.5638 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1429, allocations: 78.61 kB / 0.5639 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.143, allocations: 32.84 kB / 0.5639 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.143, allocations: 8.094 kB / 0.5639 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1432, allocations: 95.19 kB / 0.564 GB, free: 4.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.1432, allocations: 0 / 0.564 GB, free: 4.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003177/0.1436, allocations: 141.4 kB / 0.5641 GB, free: 4.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1436, allocations: 81.11 kB / 0.5642 GB, free: 4.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1439, allocations: 258.8 kB / 0.5644 GB, free: 3.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1439, allocations: 29.7 kB / 0.5645 GB, free: 3.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.144, allocations: 124 kB / 0.5646 GB, free: 3.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.144, allocations: 19.66 kB / 0.5646 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.144, allocations: 8 kB / 0.5646 GB, free: 3.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1441, allocations: 326.8 kB / 0.5649 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.1442, allocations: 23.98 kB / 0.5649 GB, free: 3.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.1443, allocations: 63.41 kB / 0.565 GB, free: 3.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.1444, allocations: 35.95 kB / 0.565 GB, free: 3.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1444, allocations: 32 / 0.565 GB, free: 3.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001992/0.1446, allocations: 125.4 kB / 0.5652 GB, free: 3.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1446, allocations: 8 kB / 0.5652 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1446, allocations: 0 / 0.5652 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1447, allocations: 0 / 0.5652 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.1447, allocations: 12.36 kB / 0.5652 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1448, allocations: 4 kB / 0.5652 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.1448, allocations: 4 kB / 0.5652 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1448, allocations: 0 / 0.5652 GB, free: 3.133 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.000118/0.145, allocations: 149.8 kB / 0.5653 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.145, allocations: 19.77 kB / 0.5654 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.145, allocations: 17.39 kB / 0.5654 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.1451, allocations: 4 kB / 0.5654 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1451, allocations: 0 / 0.5654 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1451, allocations: 0 / 0.5654 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1453, allocations: 229.4 kB / 0.5656 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1453, allocations: 3.984 kB / 0.5656 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.1453, allocations: 11.88 kB / 0.5656 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1453, allocations: 11.95 kB / 0.5656 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.1453, allocations: 0 / 0.5656 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1454, allocations: 0 / 0.5656 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1454, allocations: 0 / 0.5656 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1456, allocations: 136.9 kB / 0.5657 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.1456, allocations: 100.9 kB / 0.5658 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.1457, allocations: 7.938 kB / 0.5659 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.1457, allocations: 15.98 kB / 0.5659 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1458, allocations: 4 kB / 0.5659 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1458, allocations: 0 / 0.5659 GB, free: 2.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.146, allocations: 196.4 kB / 0.5661 GB, free: 2.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 0 / 0.5661 GB, free: 2.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1462, allocations: 28 kB / 0.5661 GB, free: 2.121 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.0009366/0.1472, allocations: 424.5 kB / 0.5665 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1474, allocations: 79.89 kB / 0.5666 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1474, allocations: 3.938 kB / 0.5666 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.1475, allocations: 35.98 kB / 0.5666 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1478, allocations: 33.5 kB / 0.5666 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.1483, allocations: 314.2 kB / 0.5669 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1486, allocations: 0.7282 MB / 0.5676 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.1486, allocations: 33.64 kB / 0.5677 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.1487, allocations: 15.44 kB / 0.5677 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1487, allocations: 0 / 0.5677 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of Templates: time 0.004959/0.1537, allocations: 2.095 MB / 0.5697 GB, free: 14.54 MB / 446.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)