Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 174.8 kB / 16.08 MB, free: 5.734 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4563/0.4563, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.263/1.263, allocations: 225.7 MB / 353.3 MB, free: 1.094 MB / 282.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.0007684/0.0007685, allocations: 94.81 kB / 425.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 8 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001606/0.2693, allocations: 1.465 MB / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2706, allocations: 1.244 MB / 0.5678 GB, free: 39.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.2708, allocations: 0 / 0.5678 GB, free: 39.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.2713, allocations: 156.9 kB / 0.568 GB, free: 39.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.2715, allocations: 101.6 kB / 0.5681 GB, free: 39.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.2719, allocations: 157.4 kB / 0.5682 GB, free: 39.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.2721, allocations: 163.6 kB / 0.5684 GB, free: 39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.2722, allocations: 23.33 kB / 0.5684 GB, free: 38.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.2723, allocations: 67.69 kB / 0.5685 GB, free: 38.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.2724, allocations: 59.7 kB / 0.5685 GB, free: 38.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2724, allocations: 0 / 0.5685 GB, free: 38.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2725, allocations: 51.97 kB / 0.5686 GB, free: 38.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.2726, allocations: 37.94 kB / 0.5686 GB, free: 38.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.2727, allocations: 89.23 kB / 0.5687 GB, free: 38.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2729, allocations: 185.5 kB / 0.5689 GB, free: 38.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2729, allocations: 0 / 0.5689 GB, free: 38.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2729, allocations: 0 / 0.5689 GB, free: 38.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2729, allocations: 0 / 0.5689 GB, free: 38.49 MB / 410.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.0006979/0.2736, allocations: 476.4 kB / 0.5693 GB, free: 37.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.2737, allocations: 8.031 kB / 0.5693 GB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.2738, allocations: 16.75 kB / 0.5694 GB, free: 37.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.2741, allocations: 248.9 kB / 0.5696 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2741, allocations: 384 / 0.5696 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2741, allocations: 8.125 kB / 0.5696 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2744, allocations: 91.38 kB / 0.5697 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2744, allocations: 0 / 0.5697 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2744, allocations: 4 kB / 0.5697 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2744, allocations: 0 / 0.5697 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.2745, allocations: 51.8 kB / 0.5697 GB, free: 37.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.275, allocations: 356.6 kB / 0.5701 GB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2752, allocations: 82.61 kB / 0.5702 GB, free: 37.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.2752, allocations: 28.86 kB / 0.5702 GB, free: 36.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.2753, allocations: 3.984 kB / 0.5702 GB, free: 36.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.2754, allocations: 79.39 kB / 0.5703 GB, free: 36.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.2754, allocations: 0 / 0.5703 GB, free: 36.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002834/0.2757, allocations: 141.4 kB / 0.5704 GB, free: 36.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.2757, allocations: 77.11 kB / 0.5705 GB, free: 36.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.2759, allocations: 267 kB / 0.5707 GB, free: 36.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.276, allocations: 25.7 kB / 0.5708 GB, free: 36.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.276, allocations: 120 kB / 0.5709 GB, free: 36.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.276, allocations: 15.81 kB / 0.5709 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.2761, allocations: 3.984 kB / 0.5709 GB, free: 36.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.2761, allocations: 334.8 kB / 0.5712 GB, free: 35.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.2762, allocations: 31.98 kB / 0.5712 GB, free: 35.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.2762, allocations: 59.36 kB / 0.5713 GB, free: 35.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.2764, allocations: 69.7 kB / 0.5714 GB, free: 35.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2764, allocations: 384 / 0.5714 GB, free: 35.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001573/0.2765, allocations: 121.3 kB / 0.5715 GB, free: 35.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2765, allocations: 8.062 kB / 0.5715 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2766, allocations: 4 kB / 0.5715 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2766, allocations: 0 / 0.5715 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.2767, allocations: 15.92 kB / 0.5715 GB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2767, allocations: 0 / 0.5715 GB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.2767, allocations: 15.88 kB / 0.5715 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2767, allocations: 0 / 0.5715 GB, free: 35.53 MB / 410.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 9.229e-05/0.2768, allocations: 141.9 kB / 0.5717 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.2769, allocations: 27.72 kB / 0.5717 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.2769, allocations: 17.41 kB / 0.5717 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.2769, allocations: 4 kB / 0.5717 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2769, allocations: 0 / 0.5717 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2769, allocations: 3.938 kB / 0.5717 GB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2771, allocations: 225.5 kB / 0.5719 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2771, allocations: 0 / 0.5719 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.2771, allocations: 4 kB / 0.5719 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2771, allocations: 0 / 0.5719 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.2771, allocations: 4 kB / 0.5719 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2771, allocations: 0 / 0.5719 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2771, allocations: 4 kB / 0.5719 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.2773, allocations: 148.8 kB / 0.5721 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.2774, allocations: 100.9 kB / 0.5722 GB, free: 34.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.2774, allocations: 0 / 0.5722 GB, free: 34.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.2774, allocations: 15.98 kB / 0.5722 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2775, allocations: 4 kB / 0.5722 GB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2775, allocations: 7.922 kB / 0.5722 GB, free: 34.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.2776, allocations: 200.2 kB / 0.5724 GB, free: 34.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2776, allocations: 0 / 0.5724 GB, free: 34.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.2779, allocations: 32 kB / 0.5724 GB, free: 34.51 MB / 410.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.0008516/0.2787, allocations: 0.4895 MB / 0.5729 GB, free: 34.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.2789, allocations: 71.91 kB / 0.573 GB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2789, allocations: 0 / 0.573 GB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.279, allocations: 43.98 kB / 0.573 GB, free: 34.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2793, allocations: 43.73 kB / 0.5731 GB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.2797, allocations: 330.2 kB / 0.5734 GB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2798, allocations: 0.7204 MB / 0.5741 GB, free: 32.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.156e-05/0.2799, allocations: 25.72 kB / 0.5741 GB, free: 32.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2799, allocations: 19.42 kB / 0.5741 GB, free: 32.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2799, allocations: 0 / 0.5741 GB, free: 32.85 MB / 410.7 MB Notification: Performance of Templates: time 0.004434/0.2844, allocations: 2.155 MB / 0.5762 GB, free: 30.72 MB / 410.7 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)