Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00143/0.00143, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001777/0.001777, allocations: 199.3 kB / 16.26 MB, free: 6.625 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 283.2 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001664, allocations: 91.19 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003204/0.1457, allocations: 1.83 MB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1472, allocations: 1.008 MB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.1473, allocations: 4 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.1478, allocations: 157.8 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1481, allocations: 106.6 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1485, allocations: 163.7 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1487, allocations: 164.3 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.1488, allocations: 25.11 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.1489, allocations: 75.69 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.149, allocations: 67.75 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.149, allocations: 8 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1491, allocations: 59.97 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.1492, allocations: 51.77 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.1493, allocations: 59.61 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1495, allocations: 199.7 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1495, allocations: 0 / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1495, allocations: 4 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1495, allocations: 0 / 0.6835 GB, free: 13.08 MB / 494.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.0006246/0.1502, allocations: 488.3 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1502, allocations: 8.031 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.1503, allocations: 20.75 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1505, allocations: 257.4 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1505, allocations: 384 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1506, allocations: 8.125 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1507, allocations: 99.25 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1508, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1508, allocations: 4 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1508, allocations: 0 / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/0.1509, allocations: 31.98 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1513, allocations: 352.7 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1515, allocations: 78.61 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.1516, allocations: 36.84 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1516, allocations: 0 / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.1518, allocations: 79.39 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.916e-06/0.1518, allocations: 3.984 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003169/0.1521, allocations: 153.3 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1522, allocations: 81.11 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1524, allocations: 259 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1525, allocations: 25.7 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1525, allocations: 120 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1526, allocations: 27.64 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1526, allocations: 25.72 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1527, allocations: 342.7 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.1528, allocations: 24 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.1529, allocations: 59.41 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.153, allocations: 69.7 kB / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.153, allocations: 0 / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001887/0.1532, allocations: 117.6 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1533, allocations: 11.94 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1533, allocations: 3.938 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1533, allocations: 0 / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.1534, allocations: 11.98 kB / 0.6862 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1534, allocations: 4 kB / 0.6862 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.1534, allocations: 11.88 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1534, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.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 0.0001134/0.1536, allocations: 150.5 kB / 0.6863 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1536, allocations: 16.19 kB / 0.6863 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1536, allocations: 17.39 kB / 0.6864 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1537, allocations: 4 kB / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1537, allocations: 0 / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1537, allocations: 7.875 kB / 0.6864 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1539, allocations: 221.5 kB / 0.6866 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1539, allocations: 0 / 0.6866 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.1539, allocations: 15.92 kB / 0.6866 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1539, allocations: 0 / 0.6866 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1539, allocations: 4 kB / 0.6866 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1539, allocations: 4 kB / 0.6866 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1539, allocations: 0 / 0.6866 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1542, allocations: 140.8 kB / 0.6867 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.1542, allocations: 96.92 kB / 0.6868 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1543, allocations: 0 / 0.6868 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.1543, allocations: 4 kB / 0.6868 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1544, allocations: 7.922 kB / 0.6868 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1544, allocations: 15.94 kB / 0.6868 GB, free: 9.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1546, allocations: 188.6 kB / 0.687 GB, free: 9.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 0.687 GB, free: 9.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1548, allocations: 39.97 kB / 0.6871 GB, free: 9.055 MB / 494.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.0009313/0.1557, allocations: 422 kB / 0.6875 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.156, allocations: 79.91 kB / 0.6875 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.156, allocations: 4.062 kB / 0.6876 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.1561, allocations: 39.97 kB / 0.6876 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1563, allocations: 34.67 kB / 0.6876 GB, free: 8.641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.1568, allocations: 339 kB / 0.6879 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1571, allocations: 0.7201 MB / 0.6886 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.1572, allocations: 25.41 kB / 0.6887 GB, free: 7.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.1572, allocations: 19.42 kB / 0.6887 GB, free: 7.492 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1572, allocations: 0 / 0.6887 GB, free: 7.492 MB / 494.1 MB Notification: Performance of Templates: time 0.00524/0.1625, allocations: 2.245 MB / 0.6909 GB, free: 5.281 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)