Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_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.366/2.366, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001642/0.001641, allocations: 186.4 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 101.9 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.832e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2473, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9896/1.237, allocations: 131.6 MB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000395/1.237, allocations: 70.33 kB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005895/1.243, allocations: 0.8383 MB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.243, allocations: 0 / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.603e-05/1.243, allocations: 8 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004855/1.244, allocations: 345.3 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.244, allocations: 8.031 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/1.244, allocations: 7.938 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/1.244, allocations: 178.3 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/1.244, allocations: 0 / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/1.244, allocations: 0 / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/1.244, allocations: 21.88 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/1.245, allocations: 49 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.245, allocations: 0 / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.245, allocations: 3.312 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.245, allocations: 0 / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/1.245, allocations: 250.4 kB / 1.014 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.248e-05/1.245, allocations: 37.81 kB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/1.245, allocations: 11.98 kB / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/1.245, allocations: 0 / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.245, allocations: 30.56 kB / 1.014 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.245, allocations: 0 / 1.014 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001918/1.245, allocations: 53.06 kB / 1.014 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.246, allocations: 59.39 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/1.246, allocations: 92.56 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.246, allocations: 25.7 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/1.246, allocations: 88.08 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/1.246, allocations: 7.219 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.246, allocations: 0 / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.246, allocations: 314.8 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/1.246, allocations: 7.312 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/1.246, allocations: 7.938 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/1.246, allocations: 15.31 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.246, allocations: 0 / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000117/1.246, allocations: 45.19 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.246, allocations: 4 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.246, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.246, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/1.246, allocations: 15.98 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.246, allocations: 0 / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.247, allocations: 19.88 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.247, allocations: 7.984 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 9.719e-05/1.247, allocations: 104.2 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001213/1.247, allocations: 48.88 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/1.247, allocations: 0 / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/1.247, allocations: 7.703 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.247, allocations: 0 / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.247, allocations: 7.953 kB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.247, allocations: 4.031 kB / 1.015 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/1.247, allocations: 144.8 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.247, allocations: 0 / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.247, allocations: 15.98 kB / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.247, allocations: 0 / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.247, allocations: 0.875 kB / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.247, allocations: 3.938 kB / 1.015 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.247, allocations: 0 / 1.015 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/1.248, allocations: 146 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/1.248, allocations: 81.02 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/1.248, allocations: 4 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.248, allocations: 11.48 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/1.248, allocations: 7.75 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.248, allocations: 3.938 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.739e-05/1.248, allocations: 83.3 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.248, allocations: 4 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003072/1.248, allocations: 15.94 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0005339/1.249, allocations: 0.6752 MB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001078/1.249, allocations: 19.84 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.249, allocations: 0 / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/1.249, allocations: 15.92 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/1.249, allocations: 2.75 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/1.25, allocations: 111.9 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.25, allocations: 0.6814 MB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.021e-05/1.25, allocations: 8.062 kB / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/1.25, allocations: 18.61 kB / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/1.25, allocations: 0 / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/1.286, allocations: 0.8898 MB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/1.287, allocations: 167.8 kB / 1.018 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.584, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.6355 GB