Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.308/2.308, allocations: 248.5 MB / 261.1 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.00153, allocations: 186 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 0.571 GB, free: 11.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 98.11 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.57e-05/4.598e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9256/1.141, allocations: 135.5 MB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00043/1.142, allocations: 75.22 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03968/1.182, allocations: 5.415 MB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.146e-06/1.182, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.749e-05/1.182, allocations: 4 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB 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.001079/1.183, allocations: 462.1 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/1.183, allocations: 8.031 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/1.183, allocations: 34.55 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/1.183, allocations: 35.14 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/1.184, allocations: 256.6 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/1.184, allocations: 3.438 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/1.184, allocations: 4 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/1.184, allocations: 90.42 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.184, allocations: 3.938 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/1.184, allocations: 3.984 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.185, allocations: 8 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/1.185, allocations: 34.55 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.186, allocations: 369.4 kB / 1.03 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/1.186, allocations: 84.58 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.186, allocations: 27.67 kB / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/1.186, allocations: 4 kB / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/1.187, allocations: 80.19 kB / 1.03 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 3.957e-06/1.187, allocations: 0 / 1.03 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0005281/1.187, allocations: 119.2 kB / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.187, allocations: 106.8 kB / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/1.188, allocations: 248.5 kB / 1.03 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/1.188, allocations: 25.7 kB / 1.03 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.188, allocations: 122.1 kB / 1.03 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/1.188, allocations: 15.56 kB / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/1.188, allocations: 0 / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.189, allocations: 326 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/1.189, allocations: 31.17 kB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/1.189, allocations: 71.22 kB / 1.031 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.189, allocations: 38.3 kB / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.189, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004821/1.19, allocations: 109.3 kB / 1.031 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.19, allocations: 4 kB / 1.031 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.19, allocations: 0 / 1.031 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.19, allocations: 7.953 kB / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/1.19, allocations: 19.48 kB / 1.031 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.19, allocations: 4 kB / 1.031 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.19, allocations: 11.94 kB / 1.031 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/1.19, allocations: 3.984 kB / 1.031 GB, free: 8.566 MB / 0.6511 GB 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.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001937/1.191, allocations: 112.3 kB / 1.031 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/1.191, allocations: 11.81 kB / 1.031 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/1.191, allocations: 127.8 kB / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.191, allocations: 7.984 kB / 1.031 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.191, allocations: 3.953 kB / 1.031 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.191, allocations: 4.031 kB / 1.031 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/1.192, allocations: 235.4 kB / 1.031 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.192, allocations: 4 kB / 1.031 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/1.192, allocations: 4 kB / 1.031 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.527e-06/1.192, allocations: 4 kB / 1.031 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/1.192, allocations: 3.984 kB / 1.031 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/1.192, allocations: 4 kB / 1.031 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.192, allocations: 0 / 1.031 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/1.193, allocations: 146.4 kB / 1.032 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.193, allocations: 100.8 kB / 1.032 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/1.193, allocations: 4 kB / 1.032 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/1.193, allocations: 14.86 kB / 1.032 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/1.193, allocations: 4 kB / 1.032 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/1.193, allocations: 11.86 kB / 1.032 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009361/1.194, allocations: 199.8 kB / 1.032 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.703e-06/1.194, allocations: 0 / 1.032 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001217/1.196, allocations: 46.31 kB / 1.032 GB, free: 7.562 MB / 0.6511 GB 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002262/1.198, allocations: 0.9754 MB / 1.033 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003708/1.198, allocations: 80.33 kB / 1.033 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.198, allocations: 0 / 1.033 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/1.199, allocations: 38.11 kB / 1.033 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/1.199, allocations: 31.88 kB / 1.033 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/1.2, allocations: 301 kB / 1.033 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/1.2, allocations: 0.7235 MB / 1.034 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001726/1.201, allocations: 21.52 kB / 1.034 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.201, allocations: 60.72 kB / 1.034 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/1.201, allocations: 4 kB / 1.034 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/1.228, allocations: 4.218 MB / 1.038 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.228, allocations: 202.9 kB / 1.038 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.66, allocations: 0 / 1.038 GB, free: 1.168 MB / 0.6511 GB