Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 297.4 MB / 312.6 MB, free: 2.934 MB / 234.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.0009427/0.0009426, allocations: 174.1 kB / 382.3 MB, free: 14.86 MB / 314.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.372/1.372, allocations: 225.7 MB / 0.6617 GB, free: 7.211 MB / 490.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.0008822/0.0008822, allocations: 94.22 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5713, allocations: 119.2 MB / 1.022 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001909/0.5732, allocations: 1.477 MB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.5745, allocations: 1.25 MB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.5746, allocations: 0 / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.5751, allocations: 158.9 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.5754, allocations: 104.1 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.5757, allocations: 156.1 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.5759, allocations: 164.2 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.576, allocations: 23.56 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.5761, allocations: 70.89 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.5762, allocations: 60.22 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.5762, allocations: 0 / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.5763, allocations: 45.25 kB / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.5764, allocations: 43.97 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.5765, allocations: 77.12 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.5767, allocations: 193.8 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5767, allocations: 0 / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5767, allocations: 0 / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.5767, allocations: 0 / 1.026 GB, free: 55.69 MB / 0.698 GB 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.0005068/0.5773, allocations: 472.9 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.5773, allocations: 11.94 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.5773, allocations: 18.77 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.5775, allocations: 247.4 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5776, allocations: 4.125 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.5776, allocations: 7.516 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.5777, allocations: 88.2 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5778, allocations: 1.781 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5778, allocations: 4.828 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.5778, allocations: 4.312 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.5779, allocations: 35.28 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.5783, allocations: 352.1 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5785, allocations: 79.23 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.5785, allocations: 34.14 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5786, allocations: 1.062 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.5787, allocations: 90.06 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.767e-06/0.5787, allocations: 1.922 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002724/0.579, allocations: 139.8 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.579, allocations: 81.77 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.5792, allocations: 256.5 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.5793, allocations: 33.42 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.5793, allocations: 115.4 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.5794, allocations: 24.12 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5794, allocations: 0 / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.5794, allocations: 332.7 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.5795, allocations: 30.77 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.5796, allocations: 62.42 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.5797, allocations: 68.67 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5797, allocations: 0 / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001642/0.5798, allocations: 119.6 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5799, allocations: 13.59 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5799, allocations: 0 / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.5799, allocations: 0.9062 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.58, allocations: 13.25 kB / 1.029 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.58, allocations: 1.375 kB / 1.029 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.58, allocations: 23.53 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.5801, allocations: 2 kB / 1.029 GB, free: 53.5 MB / 0.698 GB 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 9.311e-05/0.5802, allocations: 151.8 kB / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.5802, allocations: 14.59 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.5802, allocations: 20.02 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5802, allocations: 2.5 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5802, allocations: 1.062 kB / 1.029 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5803, allocations: 7.875 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5804, allocations: 221.8 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5804, allocations: 1.844 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.5804, allocations: 2.062 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5804, allocations: 0.8438 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5805, allocations: 1.281 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5805, allocations: 10.03 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5805, allocations: 3.938 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5806, allocations: 141.7 kB / 1.029 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.5807, allocations: 99.19 kB / 1.029 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5807, allocations: 2.344 kB / 1.029 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.5808, allocations: 11.27 kB / 1.029 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5808, allocations: 7.281 kB / 1.029 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.5808, allocations: 10.75 kB / 1.029 GB, free: 52.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001419/0.581, allocations: 196.7 kB / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.581, allocations: 0 / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002402/0.5812, allocations: 37.78 kB / 1.03 GB, free: 52.78 MB / 0.698 GB 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.0008661/0.5821, allocations: 490.5 kB / 1.03 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.5823, allocations: 74.77 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5823, allocations: 4.062 kB / 1.03 GB, free: 52.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.5824, allocations: 38.95 kB / 1.03 GB, free: 52.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.5827, allocations: 31.41 kB / 1.03 GB, free: 52.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.5831, allocations: 335.3 kB / 1.03 GB, free: 52.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.5833, allocations: 0.7227 MB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.029e-05/0.5834, allocations: 27.77 kB / 1.031 GB, free: 51.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.5834, allocations: 18.78 kB / 1.031 GB, free: 51.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.5834, allocations: 0 / 1.031 GB, free: 51.55 MB / 0.698 GB Notification: Performance of Templates: time 0.004879/0.5883, allocations: 2.155 MB / 1.033 GB, free: 51.37 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)