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.38/2.38, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001579/0.001578, allocations: 182.6 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.3 MB / 0.5662 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 102.4 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.236e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8804/1.096, allocations: 131.8 MB / 1.013 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.096, allocations: 71.7 kB / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01052/1.107, allocations: 2.059 MB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.107, allocations: 0 / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.107, allocations: 0 / 1.015 GB, free: 5.117 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.001468/1.108, allocations: 495 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.108, allocations: 8.031 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/1.108, allocations: 15.81 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/1.109, allocations: 217.5 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.109, allocations: 4.875 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/1.109, allocations: 7.984 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002592/1.109, allocations: 55.56 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/1.109, allocations: 144.9 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.109, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/1.109, allocations: 3.312 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/1.109, allocations: 4 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/1.111, allocations: 0.7806 MB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/1.112, allocations: 131.7 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/1.112, allocations: 54.41 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.112, allocations: 7.938 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/1.112, allocations: 143.8 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/1.112, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004301/1.113, allocations: 117.9 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.113, allocations: 165.6 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/1.113, allocations: 154.9 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/1.113, allocations: 25.7 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.113, allocations: 117.3 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/1.113, allocations: 33.05 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.113, allocations: 0 / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.113, allocations: 324.7 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/1.114, allocations: 47.48 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/1.114, allocations: 71.42 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/1.114, allocations: 39.08 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.114, allocations: 4 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004264/1.114, allocations: 143.8 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.114, allocations: 8 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.114, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.114, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/1.115, allocations: 71.5 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.115, allocations: 7.938 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/1.116, allocations: 55.84 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/1.116, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.6355 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.0001328/1.116, allocations: 116.9 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003564/1.116, allocations: 125.7 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/1.116, allocations: 15.81 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/1.116, allocations: 19.38 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.116, allocations: 0 / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.116, allocations: 7.984 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.116, allocations: 0 / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/1.117, allocations: 210.7 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.117, allocations: 8.094 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/1.117, allocations: 47.95 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/1.117, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.117, allocations: 6.812 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.117, allocations: 4 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-05/1.117, allocations: 7.984 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/1.118, allocations: 211.3 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/1.118, allocations: 92.92 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/1.118, allocations: 3.984 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/1.118, allocations: 55.91 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.118, allocations: 27.2 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.118, allocations: 14.67 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001203/1.119, allocations: 116.6 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/1.119, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000399/1.119, allocations: 32 kB / 1.019 GB, free: 0.5391 MB / 0.6355 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.0009018/1.12, allocations: 1.033 MB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003579/1.12, allocations: 91.61 kB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.12, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/1.121, allocations: 67.86 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/1.121, allocations: 25.88 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/1.122, allocations: 249.2 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.122, allocations: 0.7226 MB / 1.021 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000178/1.122, allocations: 20.88 kB / 1.021 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.123, allocations: 41.72 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.123, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/1.165, allocations: 2.826 MB / 1.024 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/1.166, allocations: 162.9 kB / 1.024 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.634, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.6511 GB