Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.634/2.634, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001452/0.001452, allocations: 182.1 kB / 315.4 MB, free: 4.008 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.099/2.099, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 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.001126/0.001125, allocations: 86.47 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/3.007e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9076/1.183, allocations: 131.4 MB / 1.012 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003868/1.184, allocations: 70.77 kB / 1.012 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003694/1.188, allocations: 0.6386 MB / 1.013 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.188, allocations: 4 kB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.188, allocations: 0 / 1.013 GB, free: 6.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006761/1.188, allocations: 337.6 kB / 1.013 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.619e-05/1.188, allocations: 8.031 kB / 1.013 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/1.189, allocations: 0 / 1.013 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/1.189, allocations: 182.4 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.189, allocations: 4 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/1.189, allocations: 4 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/1.189, allocations: 10.5 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/1.189, allocations: 45 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.189, allocations: 2.625 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.189, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.189, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/1.19, allocations: 262.8 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/1.19, allocations: 22.02 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/1.19, allocations: 12.86 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/1.19, allocations: 0 / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/1.19, allocations: 30.56 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/1.19, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002349/1.191, allocations: 44.81 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.191, allocations: 51.41 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/1.191, allocations: 96.33 kB / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/1.191, allocations: 25.7 kB / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/1.191, allocations: 87.98 kB / 1.014 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/1.191, allocations: 8.734 kB / 1.014 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/1.191, allocations: 0 / 1.014 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.191, allocations: 310.8 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/1.191, allocations: 11.91 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/1.191, allocations: 0 / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/1.191, allocations: 4 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.191, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/1.191, allocations: 40.7 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.191, allocations: 11.92 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.192, allocations: 4.562 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.192, allocations: 0 / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/1.192, allocations: 12.09 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.192, allocations: 0 / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/1.192, allocations: 11.98 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.192, allocations: 6.141 kB / 1.015 GB, free: 4.969 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.286e-05/1.192, allocations: 101 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.679e-05/1.192, allocations: 40.42 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/1.192, allocations: 3.984 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/1.192, allocations: 14.8 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.192, allocations: 7.938 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.192, allocations: 3.953 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.192, allocations: 0 / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/1.192, allocations: 132.1 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.192, allocations: 0 / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.627e-05/1.192, allocations: 11.98 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.192, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.192, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.193, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.193, allocations: 4 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/1.193, allocations: 134.9 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/1.193, allocations: 84.36 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.193, allocations: 0 / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/1.193, allocations: 8.672 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/1.193, allocations: 4 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/1.193, allocations: 4.031 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.303e-05/1.193, allocations: 79.53 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/1.193, allocations: 0 / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002939/1.193, allocations: 7.906 kB / 1.015 GB, free: 4.266 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004799/1.194, allocations: 0.6721 MB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.085e-05/1.194, allocations: 11.25 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.194, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/1.194, allocations: 7.5 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/1.194, allocations: 4.188 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/1.195, allocations: 104.8 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/1.195, allocations: 0.6806 MB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.777e-05/1.195, allocations: 12.11 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/1.195, allocations: 10.12 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/1.195, allocations: 3.938 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/1.231, allocations: 0.6961 MB / 1.017 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/1.231, allocations: 153.3 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.564, allocations: 1.969 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB