Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.244/2.244, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001485/0.001484, allocations: 176.9 kB / 315.4 MB, free: 4.031 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.093/2.093, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001099/0.001099, allocations: 104 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.267e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2168, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9348/1.152, allocations: 132.1 MB / 1.013 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/1.152, allocations: 74.39 kB / 1.013 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01342/1.165, allocations: 2.628 MB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.165, allocations: 0 / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.165, allocations: 4 kB / 1.016 GB, free: 4.316 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.001736/1.167, allocations: 0.5307 MB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/1.167, allocations: 12.03 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.167, allocations: 31.64 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/1.168, allocations: 247.3 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/1.168, allocations: 15.86 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/1.168, allocations: 12 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005074/1.169, allocations: 153.5 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/1.169, allocations: 195 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.169, allocations: 4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/1.169, allocations: 11.92 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.169, allocations: 4 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/1.172, allocations: 0.6429 MB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/1.172, allocations: 179.7 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/1.172, allocations: 107 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/1.172, allocations: 7.938 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005281/1.173, allocations: 206.2 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 3.667e-06/1.173, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.0008814/1.174, allocations: 312.5 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.174, allocations: 62.52 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/1.174, allocations: 155.8 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/1.174, allocations: 25.7 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.174, allocations: 131.7 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/1.174, allocations: 73.58 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/1.174, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.175, allocations: 330.2 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/1.175, allocations: 98.95 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/1.175, allocations: 91.17 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/1.175, allocations: 89.03 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.175, allocations: 3.953 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007014/1.176, allocations: 254.8 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.176, allocations: 8 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.176, allocations: 7.984 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.176, allocations: 0 / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/1.177, allocations: 91.55 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/1.177, allocations: 4 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/1.178, allocations: 71.62 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/1.178, allocations: 7.562 kB / 1.02 GB, free: 0.6562 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/1.178, allocations: 129.8 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008043/1.179, allocations: 303.6 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/1.179, allocations: 19.72 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/1.179, allocations: 25.11 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.179, allocations: 7.938 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.179, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.179, allocations: 3.984 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/1.18, allocations: 0.6281 MB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.18, allocations: 4 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/1.181, allocations: 63.88 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.181, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.181, allocations: 11.98 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.181, allocations: 4 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.181, allocations: 0 / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/1.182, allocations: 410.2 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/1.182, allocations: 96.86 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/1.182, allocations: 7.422 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/1.183, allocations: 55.94 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/1.183, allocations: 46.48 kB / 1.022 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/1.183, allocations: 15.92 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001411/1.183, allocations: 126.9 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.183, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004781/1.184, allocations: 51.89 kB / 1.022 GB, free: 14.89 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.001292/1.185, allocations: 0.9516 MB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007306/1.186, allocations: 244.1 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.186, allocations: 0 / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005514/1.186, allocations: 145.2 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/1.187, allocations: 23.42 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/1.19, allocations: 375.3 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/1.191, allocations: 0.7477 MB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005112/1.191, allocations: 37.83 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/1.191, allocations: 57.61 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/1.191, allocations: 0 / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04709/1.239, allocations: 4.22 MB / 1.028 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003684/1.239, allocations: 167 kB / 1.029 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.945, allocations: 0 / 1.029 GB, free: 8.133 MB / 0.6511 GB