Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.186/2.186, allocations: 248.5 MB / 261.1 MB, free: 5.977 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.001467/0.001467, allocations: 176.9 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 0.571 GB, free: 11.71 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.001058/0.001058, allocations: 93.58 kB / 0.6754 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.126e-05/5.165e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2174, allocations: 106.2 MB / 0.8907 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.112, allocations: 131.6 MB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.112, allocations: 71.33 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01108/1.124, allocations: 2.068 MB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/1.124, allocations: 0 / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.438e-05/1.124, allocations: 7.938 kB / 1.021 GB, free: 1.711 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.001387/1.125, allocations: 483.9 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.125, allocations: 12.03 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.54e-05/1.125, allocations: 41.94 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/1.125, allocations: 19.77 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/1.126, allocations: 213.3 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.126, allocations: 11.19 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/1.126, allocations: 11.44 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/1.126, allocations: 141.4 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.126, allocations: 7.953 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/1.126, allocations: 8 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.126, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/1.126, allocations: 72.67 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/1.129, allocations: 0.8101 MB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/1.129, allocations: 138.8 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.129, allocations: 58.16 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.129, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/1.129, allocations: 152.8 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.374e-06/1.129, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004764/1.13, allocations: 135.7 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.13, allocations: 161.4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/1.13, allocations: 158.2 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/1.13, allocations: 33.08 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/1.13, allocations: 114 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/1.131, allocations: 34.05 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/1.131, allocations: 3.5 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.131, allocations: 326.7 kB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/1.131, allocations: 50.06 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/1.131, allocations: 75.38 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/1.131, allocations: 42.03 kB / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.131, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000453/1.132, allocations: 161.9 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.132, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/1.132, allocations: 160 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.132, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/1.132, allocations: 67.97 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.132, allocations: 11.92 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/1.133, allocations: 51.73 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/1.133, allocations: 8 kB / 1.025 GB, free: 14.12 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.0001396/1.133, allocations: 126.7 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/1.133, allocations: 11.81 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/1.133, allocations: 19.44 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.133, allocations: 4.078 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.133, allocations: 7.984 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.133, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/1.134, allocations: 231.3 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.134, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/1.134, allocations: 63.69 kB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.134, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/1.134, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.134, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.134, allocations: 8 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/1.135, allocations: 223.7 kB / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/1.135, allocations: 89.02 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/1.135, allocations: 7.891 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/1.135, allocations: 55.94 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.136, allocations: 30.39 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/1.136, allocations: 6.938 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001537/1.136, allocations: 120 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/1.136, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003609/1.136, allocations: 35.52 kB / 1.026 GB, free: 13.06 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.0009414/1.137, allocations: 1.044 MB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004125/1.137, allocations: 103.5 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.138, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002865/1.138, allocations: 71.92 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/1.138, allocations: 28.14 kB / 1.027 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.139, allocations: 254 kB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/1.14, allocations: 0.716 MB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001961/1.14, allocations: 20.88 kB / 1.028 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.14, allocations: 40.86 kB / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/1.14, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/1.164, allocations: 3.272 MB / 1.031 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/1.164, allocations: 163.3 kB / 1.031 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.802, allocations: 3.938 kB / 1.031 GB, free: 7.465 MB / 0.6511 GB