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.189/2.189, allocations: 248.5 MB / 261 MB, free: 6.008 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.001509/0.001509, allocations: 182.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001049/0.001049, allocations: 94.42 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.893e-05/4.874e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2469, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.904/1.151, allocations: 131.9 MB / 1.019 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/1.151, allocations: 77.05 kB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02127/1.173, allocations: 2.656 MB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.955e-06/1.173, allocations: 0 / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.618e-05/1.173, allocations: 8 kB / 1.022 GB, free: 0.9961 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.00257/1.175, allocations: 0.5215 MB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.839e-05/1.176, allocations: 8.031 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/1.176, allocations: 53.55 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/1.176, allocations: 31.64 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/1.177, allocations: 245.7 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/1.177, allocations: 19.48 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/1.177, allocations: 15.5 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/1.178, allocations: 208.3 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.178, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/1.178, allocations: 11.48 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.178, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/1.179, allocations: 167.1 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/1.183, allocations: 0.694 MB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/1.184, allocations: 187.1 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/1.184, allocations: 114.6 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/1.184, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008635/1.185, allocations: 215.2 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 6.312e-06/1.185, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.001428/1.187, allocations: 323.8 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/1.187, allocations: 66.27 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/1.187, allocations: 172.1 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-05/1.187, allocations: 35.95 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.187, allocations: 123.7 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/1.188, allocations: 69.27 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/1.188, allocations: 7.875 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.188, allocations: 336.7 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/1.188, allocations: 105.8 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/1.189, allocations: 100.4 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/1.189, allocations: 98.02 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.189, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001189/1.191, allocations: 272.3 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/1.191, allocations: 8 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.191, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.191, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.192, allocations: 95.67 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.192, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/1.193, allocations: 75.44 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/1.193, allocations: 15.12 kB / 1.026 GB, free: 13.16 MB / 0.6511 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.0002717/1.194, allocations: 133.6 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.194, allocations: 15.81 kB / 1.027 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/1.194, allocations: 28.92 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.194, allocations: 8 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.194, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.194, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/1.196, allocations: 0.6817 MB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.196, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/1.197, allocations: 63.94 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/1.197, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/1.197, allocations: 10.73 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.197, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.197, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/1.199, allocations: 425.5 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.199, allocations: 96.84 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.199, allocations: 11.06 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.2, allocations: 55.44 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/1.2, allocations: 49.66 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/1.2, allocations: 19.11 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002391/1.201, allocations: 132.7 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.12e-07/1.201, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007106/1.201, allocations: 54.84 kB / 1.028 GB, free: 11.55 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.002006/1.203, allocations: 0.9729 MB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.205, allocations: 263 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.205, allocations: 4 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006525/1.205, allocations: 147.8 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/1.206, allocations: 23.17 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/1.208, allocations: 398.6 kB / 1.03 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/1.209, allocations: 0.7481 MB / 1.031 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004284/1.209, allocations: 34.06 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/1.21, allocations: 58.66 kB / 1.031 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.21, allocations: 4 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/1.244, allocations: 4.713 MB / 1.035 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/1.245, allocations: 165.8 kB / 1.035 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.831, allocations: 3.938 kB / 1.035 GB, free: 4.348 MB / 0.6511 GB