Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.000987, allocations: 174.3 kB / 16.08 MB, free: 5.727 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.4385/0.4385, allocations: 89.07 MB / 105.9 MB, free: 12.4 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.28/1.28, allocations: 225.7 MB / 353.3 MB, free: 1.082 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.0007264/0.0007264, allocations: 94.05 kB / 425.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 8 kB / 0.4955 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 71.33 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001725/0.2913, allocations: 1.446 MB / 0.5666 GB, free: 40.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2926, allocations: 1.484 MB / 0.5681 GB, free: 39.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.2927, allocations: 0 / 0.5681 GB, free: 39.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.293, allocations: 59.8 kB / 0.5681 GB, free: 39.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.2931, allocations: 64.36 kB / 0.5682 GB, free: 39.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.2936, allocations: 202 kB / 0.5684 GB, free: 38.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.2937, allocations: 135.5 kB / 0.5685 GB, free: 38.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.2938, allocations: 26.61 kB / 0.5685 GB, free: 38.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.176e-05/0.2939, allocations: 55.7 kB / 0.5686 GB, free: 38.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.294, allocations: 57.03 kB / 0.5686 GB, free: 38.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.294, allocations: 4 kB / 0.5686 GB, free: 38.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.2941, allocations: 59.25 kB / 0.5687 GB, free: 38.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.2942, allocations: 47.77 kB / 0.5687 GB, free: 38.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.2943, allocations: 73.38 kB / 0.5688 GB, free: 38.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2945, allocations: 189.5 kB / 0.569 GB, free: 38.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2945, allocations: 0 / 0.569 GB, free: 38.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2945, allocations: 0 / 0.569 GB, free: 38.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2945, allocations: 0 / 0.569 GB, free: 38.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004318/0.2949, allocations: 464.5 kB / 0.5694 GB, free: 37.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.295, allocations: 10.44 kB / 0.5694 GB, free: 37.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.295, allocations: 16.75 kB / 0.5695 GB, free: 37.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.2952, allocations: 256.8 kB / 0.5697 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2952, allocations: 384 / 0.5697 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2953, allocations: 12.12 kB / 0.5697 GB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2954, allocations: 100.1 kB / 0.5698 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2954, allocations: 0 / 0.5698 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2955, allocations: 0 / 0.5698 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.2955, allocations: 4 kB / 0.5698 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.2956, allocations: 31.98 kB / 0.5698 GB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.2959, allocations: 356.6 kB / 0.5702 GB, free: 36.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.2961, allocations: 94.69 kB / 0.5703 GB, free: 36.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.2962, allocations: 28.84 kB / 0.5703 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2962, allocations: 4 kB / 0.5703 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2964, allocations: 83.38 kB / 0.5704 GB, free: 36.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2964, allocations: 4 kB / 0.5704 GB, free: 36.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002749/0.2967, allocations: 133.4 kB / 0.5705 GB, free: 36.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2967, allocations: 106.8 kB / 0.5706 GB, free: 36.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2969, allocations: 259 kB / 0.5709 GB, free: 36.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2969, allocations: 33.7 kB / 0.5709 GB, free: 36.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.297, allocations: 116.1 kB / 0.571 GB, free: 36.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.297, allocations: 27.64 kB / 0.571 GB, free: 35.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.297, allocations: 0 / 0.571 GB, free: 35.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.2971, allocations: 334.8 kB / 0.5713 GB, free: 35.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.2971, allocations: 23.98 kB / 0.5714 GB, free: 35.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2972, allocations: 72.22 kB / 0.5714 GB, free: 35.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2973, allocations: 69.62 kB / 0.5715 GB, free: 35.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2973, allocations: 0 / 0.5715 GB, free: 35.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.2975, allocations: 113.4 kB / 0.5716 GB, free: 35.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2975, allocations: 7.906 kB / 0.5716 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2975, allocations: 0 / 0.5716 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2976, allocations: 4 kB / 0.5716 GB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.2977, allocations: 15.98 kB / 0.5716 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2977, allocations: 7.938 kB / 0.5716 GB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.2977, allocations: 7.938 kB / 0.5717 GB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2977, allocations: 0 / 0.5717 GB, free: 35.31 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: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 8.203e-05/0.2978, allocations: 149.8 kB / 0.5718 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.2979, allocations: 19.84 kB / 0.5718 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.2979, allocations: 17.39 kB / 0.5718 GB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2979, allocations: 4 kB / 0.5718 GB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2979, allocations: 4 kB / 0.5718 GB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2979, allocations: 3.938 kB / 0.5718 GB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.298, allocations: 225.5 kB / 0.5721 GB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2981, allocations: 4 kB / 0.5721 GB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.2981, allocations: 7.984 kB / 0.5721 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2981, allocations: 0 / 0.5721 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2981, allocations: 4 kB / 0.5721 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2981, allocations: 0 / 0.5721 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2981, allocations: 4 kB / 0.5721 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.2983, allocations: 140.8 kB / 0.5722 GB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.2984, allocations: 100.9 kB / 0.5723 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2984, allocations: 0 / 0.5723 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.2984, allocations: 4 kB / 0.5723 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2985, allocations: 15.98 kB / 0.5723 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2985, allocations: 3.938 kB / 0.5723 GB, free: 34.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2986, allocations: 204.1 kB / 0.5725 GB, free: 34.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2986, allocations: 0 / 0.5725 GB, free: 34.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.2989, allocations: 35.94 kB / 0.5726 GB, free: 34.29 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.0008012/0.2997, allocations: 493.3 kB / 0.573 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.2998, allocations: 67.97 kB / 0.5731 GB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2999, allocations: 4.062 kB / 0.5731 GB, free: 33.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.2999, allocations: 36.11 kB / 0.5731 GB, free: 33.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3002, allocations: 42.08 kB / 0.5732 GB, free: 33.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.3006, allocations: 326 kB / 0.5735 GB, free: 33.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3007, allocations: 0.7243 MB / 0.5742 GB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.3008, allocations: 29.38 kB / 0.5742 GB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.3008, allocations: 19.44 kB / 0.5742 GB, free: 32.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3008, allocations: 0 / 0.5742 GB, free: 32.65 MB / 410.7 MB Notification: Performance of Templates: time 0.004214/0.305, allocations: 2.408 MB / 0.5766 GB, free: 30.27 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)