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.339/2.339, allocations: 248.5 MB / 261 MB, free: 6 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.001395/0.001395, allocations: 178.5 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 1.995/1.995, allocations: 205.1 MB / 0.571 GB, free: 11.81 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.001213/0.001213, allocations: 96.66 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.61e-05/4.624e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9002/1.12, allocations: 131.1 MB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/1.12, allocations: 80.59 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003471/1.124, allocations: 0.6449 MB / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.905e-06/1.124, allocations: 0 / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.124, allocations: 0 / 1.019 GB, free: 3.441 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.0006281/1.125, allocations: 339.5 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/1.125, allocations: 8.031 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/1.125, allocations: 34.56 kB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/1.125, allocations: 7.562 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/1.125, allocations: 186.7 kB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/1.125, allocations: 0 / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/1.125, allocations: 4 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/1.125, allocations: 45.38 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.125, allocations: 2.625 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.125, allocations: 0 / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.125, allocations: 0 / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/1.126, allocations: 10.88 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/1.126, allocations: 284.1 kB / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/1.126, allocations: 26.31 kB / 1.02 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/1.126, allocations: 4.859 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/1.127, allocations: 0 / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.127, allocations: 38.62 kB / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.126e-06/1.127, allocations: 0 / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002272/1.127, allocations: 41.09 kB / 1.02 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/1.127, allocations: 55.41 kB / 1.02 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.127, allocations: 96.61 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/1.127, allocations: 25.7 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/1.127, allocations: 87.8 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/1.127, allocations: 8.031 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/1.127, allocations: 0 / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.127, allocations: 313.6 kB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/1.128, allocations: 7.688 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/1.128, allocations: 0 / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/1.128, allocations: 7.984 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.128, allocations: 0 / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000153/1.128, allocations: 40.64 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.128, allocations: 8.031 kB / 1.021 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.128, allocations: 4 kB / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.128, allocations: 0 / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.128, allocations: 11.98 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.128, allocations: 3.953 kB / 1.021 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/1.128, allocations: 8 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.128, allocations: 3.938 kB / 1.021 GB, free: 1.602 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 0.0001162/1.129, allocations: 112.3 kB / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/1.129, allocations: 11.89 kB / 1.021 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/1.129, allocations: 7.078 kB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.129, allocations: 0 / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.129, allocations: 0.875 kB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.129, allocations: 3.953 kB / 1.021 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/1.129, allocations: 161.6 kB / 1.021 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.129, allocations: 0 / 1.021 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/1.129, allocations: 8 kB / 1.021 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.129, allocations: 0 / 1.021 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.129, allocations: 7.188 kB / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.129, allocations: 0 / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.129, allocations: 0 / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/1.13, allocations: 141.9 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/1.13, allocations: 77.11 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/1.13, allocations: 4 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.13, allocations: 12.02 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/1.13, allocations: 0 / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/1.13, allocations: 4 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.974e-05/1.13, allocations: 82.78 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.72e-07/1.13, allocations: 0 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004696/1.131, allocations: 4 kB / 1.022 GB, free: 0.9062 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.0006708/1.131, allocations: 0.6709 MB / 1.022 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000143/1.132, allocations: 10.56 kB / 1.022 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.132, allocations: 0 / 1.022 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/1.132, allocations: 7.062 kB / 1.022 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/1.132, allocations: 10.73 kB / 1.022 GB, free: 200 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/1.133, allocations: 94.48 kB / 1.022 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/1.133, allocations: 0.6887 MB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.71e-05/1.133, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/1.133, allocations: 15.12 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/1.133, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/1.157, allocations: 1.012 MB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/1.157, allocations: 172.6 kB / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.518, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.6511 GB