Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7709/0.7709, allocations: 131 MB / 146.3 MB, free: 1.297 MB / 106.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.0009028/0.0009027, allocations: 187.8 kB / 176.4 MB, free: 4.867 MB / 138.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.51/1.51, allocations: 225.7 MB / 431.9 MB, free: 8.746 MB / 314.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.0007581/0.0007581, allocations: 90.59 kB / 0.5003 GB, free: 9.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 10.12 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 79.61 MB / 0.6663 GB, free: 8.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002068/0.1461, allocations: 1.469 MB / 0.6677 GB, free: 7.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1477, allocations: 1.249 MB / 0.6689 GB, free: 6.102 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.1478, allocations: 0 / 0.6689 GB, free: 6.102 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.1483, allocations: 155.6 kB / 0.6691 GB, free: 5.949 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1486, allocations: 103.7 kB / 0.6692 GB, free: 5.848 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.149, allocations: 155.7 kB / 0.6693 GB, free: 5.695 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1492, allocations: 163.6 kB / 0.6695 GB, free: 5.535 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.1493, allocations: 21.09 kB / 0.6695 GB, free: 5.516 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.1494, allocations: 59.77 kB / 0.6695 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.326e-05/0.1495, allocations: 67.62 kB / 0.6696 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1495, allocations: 4 kB / 0.6696 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1496, allocations: 47.97 kB / 0.6697 GB, free: 5.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.1497, allocations: 43.83 kB / 0.6697 GB, free: 5.297 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.1498, allocations: 81.31 kB / 0.6698 GB, free: 5.211 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1501, allocations: 187.6 kB / 0.67 GB, free: 5.027 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1501, allocations: 0 / 0.67 GB, free: 5.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1501, allocations: 0 / 0.67 GB, free: 5.027 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1501, allocations: 4 kB / 0.67 GB, free: 5.023 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.0006236/0.1507, allocations: 468.5 kB / 0.6704 GB, free: 4.512 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1508, allocations: 12.03 kB / 0.6704 GB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1508, allocations: 16.75 kB / 0.6704 GB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1511, allocations: 248.8 kB / 0.6707 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1511, allocations: 4.375 kB / 0.6707 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1511, allocations: 12.11 kB / 0.6707 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1513, allocations: 87.38 kB / 0.6708 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1513, allocations: 0 / 0.6708 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1514, allocations: 0 / 0.6708 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.1514, allocations: 4 kB / 0.6708 GB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.1515, allocations: 43.84 kB / 0.6708 GB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.1519, allocations: 344.8 kB / 0.6711 GB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1521, allocations: 78.61 kB / 0.6712 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.1522, allocations: 32.84 kB / 0.6713 GB, free: 3.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1522, allocations: 8 kB / 0.6713 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.1524, allocations: 79.38 kB / 0.6713 GB, free: 3.434 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1524, allocations: 0 / 0.6713 GB, free: 3.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003015/0.1527, allocations: 141.4 kB / 0.6715 GB, free: 3.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1528, allocations: 77.11 kB / 0.6715 GB, free: 3.195 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.153, allocations: 263.6 kB / 0.6718 GB, free: 2.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.153, allocations: 29.69 kB / 0.6718 GB, free: 2.895 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.1531, allocations: 120.1 kB / 0.6719 GB, free: 2.773 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1532, allocations: 27.64 kB / 0.672 GB, free: 2.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1532, allocations: 4.109 kB / 0.672 GB, free: 2.742 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1533, allocations: 334.7 kB / 0.6723 GB, free: 2.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.1533, allocations: 27.98 kB / 0.6723 GB, free: 2.379 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.1534, allocations: 63.34 kB / 0.6724 GB, free: 2.305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1536, allocations: 69.73 kB / 0.6724 GB, free: 2.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1536, allocations: 384 / 0.6724 GB, free: 2.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001777/0.1538, allocations: 117.4 kB / 0.6726 GB, free: 2.109 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1538, allocations: 4 kB / 0.6726 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1538, allocations: 4 kB / 0.6726 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1538, allocations: 0 / 0.6726 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1539, allocations: 19.94 kB / 0.6726 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1539, allocations: 0 / 0.6726 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.154, allocations: 19.86 kB / 0.6726 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.154, allocations: 4 kB / 0.6726 GB, free: 2.059 MB / 442.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.0001099/0.1541, allocations: 137.8 kB / 0.6727 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1541, allocations: 15.81 kB / 0.6728 GB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.1542, allocations: 21.39 kB / 0.6728 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1542, allocations: 0 / 0.6728 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1542, allocations: 0 / 0.6728 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1542, allocations: 7.938 kB / 0.6728 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1544, allocations: 229.5 kB / 0.673 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1544, allocations: 0 / 0.673 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.1544, allocations: 4 kB / 0.673 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1544, allocations: 0 / 0.673 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1545, allocations: 0 / 0.673 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1545, allocations: 3.984 kB / 0.673 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1545, allocations: 11.92 kB / 0.673 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1547, allocations: 136.9 kB / 0.6731 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1548, allocations: 100.9 kB / 0.6732 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1548, allocations: 0 / 0.6732 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.1548, allocations: 7.938 kB / 0.6733 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1549, allocations: 11.98 kB / 0.6733 GB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1549, allocations: 7.938 kB / 0.6733 GB, free: 1.285 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1551, allocations: 196.2 kB / 0.6735 GB, free: 1.094 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1551, allocations: 3.938 kB / 0.6735 GB, free: 1.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.1553, allocations: 31.98 kB / 0.6735 GB, free: 1.059 MB / 442.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.0009339/0.1563, allocations: 486.3 kB / 0.674 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.1565, allocations: 72.08 kB / 0.674 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1565, allocations: 4 kB / 0.674 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.1566, allocations: 40.12 kB / 0.6741 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1568, allocations: 39.84 kB / 0.6741 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.1573, allocations: 346.1 kB / 0.6744 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1576, allocations: 0.7243 MB / 0.6751 GB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.1577, allocations: 21.42 kB / 0.6752 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1578, allocations: 15.44 kB / 0.6752 GB, free: 15.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1578, allocations: 0 / 0.6752 GB, free: 15.4 MB / 458.7 MB Notification: Performance of Templates: time 0.004857/0.1626, allocations: 2.174 MB / 0.6773 GB, free: 13.25 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)