Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8303/0.8303, allocations: 143.8 MB / 159.1 MB, free: 6.523 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 175.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 450.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007297/0.0007297, allocations: 99.53 kB / 0.5211 GB, free: 1.637 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001772, allocations: 275 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007175/0.0007176, allocations: 13.75 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1456, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002175/0.1478, allocations: 1.479 MB / 0.7768 GB, free: 12.85 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1496, allocations: 1.245 MB / 0.778 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1497, allocations: 0 / 0.778 GB, free: 11.53 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.1503, allocations: 159.5 kB / 0.7781 GB, free: 11.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1506, allocations: 99.75 kB / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1511, allocations: 151.6 kB / 0.7784 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1513, allocations: 167.6 kB / 0.7785 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1515, allocations: 29.09 kB / 0.7786 GB, free: 10.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1516, allocations: 55.77 kB / 0.7786 GB, free: 10.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1517, allocations: 71.62 kB / 0.7787 GB, free: 10.81 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1517, allocations: 4 kB / 0.7787 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1519, allocations: 47.97 kB / 0.7787 GB, free: 10.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.152, allocations: 35.84 kB / 0.7788 GB, free: 10.72 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.1521, allocations: 81.31 kB / 0.7788 GB, free: 10.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1523, allocations: 187.6 kB / 0.779 GB, free: 10.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1523, allocations: 0 / 0.779 GB, free: 10.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1524, allocations: 0 / 0.779 GB, free: 10.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1524, allocations: 4 kB / 0.779 GB, free: 10.45 MB / 458.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.000657/0.153, allocations: 472.5 kB / 0.7795 GB, free: 9.934 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1531, allocations: 12.03 kB / 0.7795 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1531, allocations: 20.66 kB / 0.7795 GB, free: 9.902 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1534, allocations: 244.8 kB / 0.7797 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1534, allocations: 4.375 kB / 0.7797 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1535, allocations: 12.12 kB / 0.7797 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1537, allocations: 87.38 kB / 0.7798 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1537, allocations: 0 / 0.7798 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1537, allocations: 0 / 0.7798 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1537, allocations: 7.984 kB / 0.7798 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.1538, allocations: 35.92 kB / 0.7799 GB, free: 9.465 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1543, allocations: 352.7 kB / 0.7802 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1545, allocations: 78.61 kB / 0.7803 GB, free: 8.984 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.1546, allocations: 32.84 kB / 0.7803 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1546, allocations: 4 kB / 0.7803 GB, free: 8.945 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.1548, allocations: 79.38 kB / 0.7804 GB, free: 8.855 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.1548, allocations: 4 kB / 0.7804 GB, free: 8.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003064/0.1551, allocations: 145.3 kB / 0.7805 GB, free: 8.703 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.1551, allocations: 81.11 kB / 0.7806 GB, free: 8.605 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.1554, allocations: 255 kB / 0.7809 GB, free: 8.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1554, allocations: 33.69 kB / 0.7809 GB, free: 8.309 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1555, allocations: 112.1 kB / 0.781 GB, free: 8.195 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1555, allocations: 23.66 kB / 0.781 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.1556, allocations: 112 / 0.781 GB, free: 8.172 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1557, allocations: 342.7 kB / 0.7813 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.1557, allocations: 23.98 kB / 0.7814 GB, free: 7.805 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.1558, allocations: 67.34 kB / 0.7814 GB, free: 7.727 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.156, allocations: 69.69 kB / 0.7815 GB, free: 7.652 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.156, allocations: 0 / 0.7815 GB, free: 7.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000189/0.1562, allocations: 117.5 kB / 0.7816 GB, free: 7.531 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1562, allocations: 8 kB / 0.7816 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1562, allocations: 4 kB / 0.7816 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1562, allocations: 0 / 0.7816 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.1563, allocations: 15.92 kB / 0.7816 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1563, allocations: 4 kB / 0.7816 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.1564, allocations: 15.78 kB / 0.7817 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1564, allocations: 4 kB / 0.7817 GB, free: 7.48 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1565, allocations: 142.9 kB / 0.7818 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1566, allocations: 15.81 kB / 0.7818 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1566, allocations: 17.39 kB / 0.7818 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.1566, allocations: 8 kB / 0.7818 GB, free: 7.293 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1566, allocations: 3.938 kB / 0.7818 GB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1567, allocations: 3.938 kB / 0.7818 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1569, allocations: 217.6 kB / 0.7821 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1569, allocations: 0 / 0.7821 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.1569, allocations: 4 kB / 0.7821 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1569, allocations: 3.984 kB / 0.7821 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1569, allocations: 7.984 kB / 0.7821 GB, free: 7.008 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1569, allocations: 0 / 0.7821 GB, free: 7.008 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1569, allocations: 3.938 kB / 0.7821 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1572, allocations: 148.8 kB / 0.7822 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.1572, allocations: 92.91 kB / 0.7823 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1573, allocations: 4 kB / 0.7823 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.1573, allocations: 7.938 kB / 0.7823 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1574, allocations: 11.98 kB / 0.7823 GB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1574, allocations: 7.938 kB / 0.7823 GB, free: 6.699 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1576, allocations: 200.4 kB / 0.7825 GB, free: 6.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.964e-06/0.1576, allocations: 0 / 0.7825 GB, free: 6.504 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1578, allocations: 27.84 kB / 0.7825 GB, free: 6.477 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.0009645/0.1588, allocations: 489.8 kB / 0.783 GB, free: 6.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.159, allocations: 75.94 kB / 0.7831 GB, free: 6.055 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1591, allocations: 7.938 kB / 0.7831 GB, free: 6.047 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.1591, allocations: 35.98 kB / 0.7831 GB, free: 6.012 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1594, allocations: 33.59 kB / 0.7832 GB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.1599, allocations: 338.2 kB / 0.7835 GB, free: 5.625 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1602, allocations: 0.7204 MB / 0.7842 GB, free: 4.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.823e-05/0.1603, allocations: 25.73 kB / 0.7842 GB, free: 4.852 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1603, allocations: 15.44 kB / 0.7842 GB, free: 4.836 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1603, allocations: 0 / 0.7842 GB, free: 4.836 MB / 458.7 MB Notification: Performance of Templates: time 0.005168/0.1655, allocations: 2.17 MB / 0.7863 GB, free: 2.691 MB / 458.7 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)