Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.893/3.893, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.792e-05/4.807e-05, allocations: 8.219 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2299, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.4616, allocations: 124.9 MB / 0.7567 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4619, allocations: 71.95 kB / 0.7568 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.4752, allocations: 2.635 MB / 0.7594 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4753, allocations: 0 / 0.7594 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4753, allocations: 4 kB / 0.7594 GB, free: 2.078 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001646/0.477, allocations: 0.5312 MB / 0.7599 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.477, allocations: 12.03 kB / 0.7599 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.4771, allocations: 54.55 kB / 0.7599 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.4772, allocations: 23.72 kB / 0.76 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.4778, allocations: 242.8 kB / 0.7602 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.4778, allocations: 19.98 kB / 0.7602 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.4779, allocations: 19.98 kB / 0.7602 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.4785, allocations: 213 kB / 0.7604 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4786, allocations: 3.938 kB / 0.7604 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.4786, allocations: 11.98 kB / 0.7605 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4786, allocations: 11.94 kB / 0.7605 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.4792, allocations: 160 kB / 0.7606 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.4815, allocations: 0.6912 MB / 0.7613 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.4821, allocations: 186.3 kB / 0.7615 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.4825, allocations: 116.8 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.4825, allocations: 4 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.4831, allocations: 221.1 kB / 0.7618 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.377e-06/0.4831, allocations: 0 / 0.7618 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.0009755/0.4841, allocations: 326.7 kB / 0.7621 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4842, allocations: 59.34 kB / 0.7622 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.4845, allocations: 173.6 kB / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.4845, allocations: 29.7 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4847, allocations: 124.7 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.4848, allocations: 63.17 kB / 0.7625 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.4848, allocations: 8 kB / 0.7625 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.485, allocations: 342.7 kB / 0.7629 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.4853, allocations: 99.97 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.4856, allocations: 112.8 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.486, allocations: 87.95 kB / 0.7632 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.486, allocations: 4 kB / 0.7632 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007877/0.4868, allocations: 269.9 kB / 0.7634 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4868, allocations: 4 kB / 0.7634 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.4868, allocations: 0 / 0.7634 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4869, allocations: 8 kB / 0.7634 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/0.4877, allocations: 91.86 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.4878, allocations: 4 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.4884, allocations: 71.69 kB / 0.7636 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.4884, allocations: 8 kB / 0.7636 GB, free: 13.51 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001865/0.4886, allocations: 138.6 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.4887, allocations: 19.81 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.4888, allocations: 26.55 kB / 0.7638 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4888, allocations: 4 kB / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4888, allocations: 0 / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4888, allocations: 0 / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.4903, allocations: 0.6893 MB / 0.7644 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4903, allocations: 3.938 kB / 0.7645 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.4909, allocations: 67.94 kB / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.4909, allocations: 0 / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.491, allocations: 7.984 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.491, allocations: 0 / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.491, allocations: 3.938 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.492, allocations: 430.4 kB / 0.7649 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.4921, allocations: 92.91 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.4922, allocations: 12 kB / 0.765 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.4928, allocations: 59.94 kB / 0.7651 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.493, allocations: 47.91 kB / 0.7651 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.4931, allocations: 7.984 kB / 0.7651 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001618/0.4933, allocations: 131.4 kB / 0.7653 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4933, allocations: 0 / 0.7653 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004268/0.4937, allocations: 67.84 kB / 0.7653 GB, free: 11.63 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: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001364/0.4951, allocations: 0.9699 MB / 0.7663 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008136/0.4959, allocations: 258.9 kB / 0.7665 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4959, allocations: 0 / 0.7665 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.4964, allocations: 151.8 kB / 0.7667 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.4968, allocations: 32.11 kB / 0.7667 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4982, allocations: 391.8 kB / 0.7671 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.4987, allocations: 0.7443 MB / 0.7678 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.499, allocations: 42.05 kB / 0.7679 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.4992, allocations: 59.41 kB / 0.7679 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.4992, allocations: 4 kB / 0.7679 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.5321, allocations: 4.722 MB / 0.7725 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000359/0.5325, allocations: 167.8 kB / 0.7727 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.955, allocations: 0 / 0.7727 GB, free: 4.051 MB / 0.6511 GB