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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.446/4.446, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.961e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6115/0.6115, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.8479, allocations: 124.3 MB / 0.7502 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.8482, allocations: 75.94 kB / 0.7503 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.8618, allocations: 2.623 MB / 0.7529 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8618, allocations: 0 / 0.7529 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.8619, allocations: 4 kB / 0.7529 GB, free: 0.6211 MB / 0.6198 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.001725/0.8636, allocations: 0.535 MB / 0.7534 GB, free: 44 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.8637, allocations: 8.031 kB / 0.7534 GB, free: 36 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.8638, allocations: 23.72 kB / 0.7534 GB, free: 12 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.8644, allocations: 250.7 kB / 0.7537 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.8644, allocations: 12 kB / 0.7537 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.8645, allocations: 15.98 kB / 0.7537 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005118/0.865, allocations: 152 kB / 0.7538 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.8656, allocations: 197 kB / 0.754 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.8656, allocations: 4 kB / 0.754 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.8657, allocations: 7.984 kB / 0.754 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.8657, allocations: 4 kB / 0.754 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.868, allocations: 0.6527 MB / 0.7547 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.8685, allocations: 170.4 kB / 0.7548 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.8688, allocations: 108.8 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.8689, allocations: 4 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/0.8694, allocations: 212.8 kB / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 3.296e-06/0.8695, allocations: 0 / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.000904/0.8704, allocations: 305.5 kB / 0.7555 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.8704, allocations: 59.41 kB / 0.7555 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.8707, allocations: 154.3 kB / 0.7557 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.8707, allocations: 29.7 kB / 0.7557 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.8709, allocations: 132.6 kB / 0.7558 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.871, allocations: 67.11 kB / 0.7559 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.871, allocations: 4 kB / 0.7559 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8712, allocations: 330.8 kB / 0.7562 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.8715, allocations: 91.98 kB / 0.7563 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.8718, allocations: 95.84 kB / 0.7564 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.872, allocations: 91.75 kB / 0.7565 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.872, allocations: 0 / 0.7565 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007026/0.8728, allocations: 257.8 kB / 0.7567 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.8728, allocations: 6.188 kB / 0.7567 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.8728, allocations: 4 kB / 0.7567 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8729, allocations: 8 kB / 0.7567 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/0.8737, allocations: 91.86 kB / 0.7568 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.8737, allocations: 0 / 0.7568 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.8743, allocations: 67.69 kB / 0.7569 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.8744, allocations: 8 kB / 0.7569 GB, free: 12.32 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: 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.000194/0.8746, allocations: 134.6 kB / 0.757 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008233/0.8754, allocations: 304.4 kB / 0.7573 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.8755, allocations: 27.64 kB / 0.7573 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.8756, allocations: 23.19 kB / 0.7573 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.8756, allocations: 4 kB / 0.7574 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8756, allocations: 3.938 kB / 0.7574 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.8756, allocations: 3.984 kB / 0.7574 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.8769, allocations: 0.6315 MB / 0.758 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.8769, allocations: 0 / 0.758 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.8775, allocations: 63.94 kB / 0.758 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.8775, allocations: 0 / 0.758 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.8776, allocations: 7.984 kB / 0.758 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.8776, allocations: 4 kB / 0.758 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8776, allocations: 0 / 0.758 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.8785, allocations: 407.9 kB / 0.7584 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.8786, allocations: 100.8 kB / 0.7585 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.8787, allocations: 7.984 kB / 0.7585 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.8793, allocations: 51.94 kB / 0.7586 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.8795, allocations: 55.84 kB / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.8796, allocations: 8 kB / 0.7587 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001401/0.8797, allocations: 129.2 kB / 0.7588 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8797, allocations: 0 / 0.7588 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004467/0.8802, allocations: 44 kB / 0.7588 GB, free: 10.25 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: 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.001263/0.8815, allocations: 0.9581 MB / 0.7598 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.8822, allocations: 252 kB / 0.76 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8822, allocations: 4 kB / 0.76 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.8826, allocations: 139.9 kB / 0.7601 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.8831, allocations: 24.17 kB / 0.7602 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.8846, allocations: 375 kB / 0.7605 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.885, allocations: 0.7479 MB / 0.7612 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.8853, allocations: 29.84 kB / 0.7613 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.8855, allocations: 63.42 kB / 0.7613 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.8855, allocations: 0 / 0.7613 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08764/0.9732, allocations: 4.234 MB / 0.7655 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/0.9736, allocations: 146.4 kB / 0.7656 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.611, allocations: 0 / 0.7656 GB, free: 3.188 MB / 0.6355 GB