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.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.947/3.947, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.117e-05, allocations: 4.516 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.5594, allocations: 124.6 MB / 0.7564 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5598, allocations: 67.95 kB / 0.7565 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01376/0.5736, allocations: 2.075 MB / 0.7585 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5736, allocations: 0 / 0.7585 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.5737, allocations: 0 / 0.7585 GB, free: 2.953 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001841/0.5755, allocations: 478.1 kB / 0.759 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/0.5756, allocations: 20.02 kB / 0.759 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.988e-05/0.5757, allocations: 38.5 kB / 0.759 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.394e-05/0.5758, allocations: 19.77 kB / 0.759 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.5762, allocations: 218.9 kB / 0.7593 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5762, allocations: 8 kB / 0.7593 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.5763, allocations: 12 kB / 0.7593 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.5769, allocations: 146.1 kB / 0.7594 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5769, allocations: 3.953 kB / 0.7594 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.5769, allocations: 4 kB / 0.7594 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.577, allocations: 4 kB / 0.7594 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.5774, allocations: 67.92 kB / 0.7595 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.58, allocations: 0.8097 MB / 0.7603 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.5804, allocations: 137 kB / 0.7604 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.5807, allocations: 60.47 kB / 0.7605 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.5807, allocations: 4 kB / 0.7605 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.5812, allocations: 143.6 kB / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 6.953e-06/0.5812, allocations: 0 / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0006059/0.5818, allocations: 137.4 kB / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.582, allocations: 170.1 kB / 0.7609 GB, free: 204 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.5823, allocations: 157.4 kB / 0.7611 GB, free: 40 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.5823, allocations: 25.7 kB / 0.7611 GB, free: 8 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.5825, allocations: 120 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.5826, allocations: 31.55 kB / 0.7612 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.5826, allocations: 8 kB / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5828, allocations: 330.9 kB / 0.7615 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.583, allocations: 43.94 kB / 0.7616 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5833, allocations: 76.28 kB / 0.7617 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.5835, allocations: 39.97 kB / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5836, allocations: 4 kB / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006228/0.5842, allocations: 157.3 kB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5843, allocations: 8 kB / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5843, allocations: 0 / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5843, allocations: 4 kB / 0.7619 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.5851, allocations: 64.03 kB / 0.7619 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.5851, allocations: 3.938 kB / 0.7619 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.5858, allocations: 55.86 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.5859, allocations: 8 kB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001516/0.586, allocations: 120.9 kB / 0.7621 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.5861, allocations: 15.81 kB / 0.7621 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.5862, allocations: 20.94 kB / 0.7621 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5862, allocations: 8 kB / 0.7621 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5863, allocations: 0 / 0.7621 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.5863, allocations: 7.984 kB / 0.7622 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.5867, allocations: 229.5 kB / 0.7624 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5867, allocations: 4 kB / 0.7624 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.5873, allocations: 59.88 kB / 0.7624 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5873, allocations: 0 / 0.7624 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.5874, allocations: 8 kB / 0.7624 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.5874, allocations: 4 kB / 0.7624 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5874, allocations: 0 / 0.7624 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.588, allocations: 223.1 kB / 0.7627 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.5881, allocations: 85.02 kB / 0.7627 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.5882, allocations: 11.95 kB / 0.7628 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.5889, allocations: 55.94 kB / 0.7628 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.5891, allocations: 27.95 kB / 0.7628 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.5891, allocations: 4 kB / 0.7628 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000189/0.5893, allocations: 124.3 kB / 0.763 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.926e-06/0.5894, allocations: 0 / 0.763 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005509/0.5899, allocations: 39.83 kB / 0.763 GB, free: 13.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001195/0.5911, allocations: 1.046 MB / 0.764 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.5917, allocations: 103.9 kB / 0.7641 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5917, allocations: 0 / 0.7641 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.5922, allocations: 71.92 kB / 0.7642 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.5927, allocations: 32.52 kB / 0.7642 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.594, allocations: 250.8 kB / 0.7645 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5945, allocations: 0.716 MB / 0.7652 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000237/0.5947, allocations: 21.14 kB / 0.7652 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.5949, allocations: 39.42 kB / 0.7652 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/0.5949, allocations: 0 / 0.7652 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.6294, allocations: 3.267 MB / 0.7684 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.6297, allocations: 172.2 kB / 0.7686 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.022, allocations: 0 / 0.7686 GB, free: 8.078 MB / 0.6511 GB