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.2/2.2, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 172.5 kB / 325.5 MB, free: 2.906 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.351/2.351, allocations: 205.4 MB / 0.5764 GB, free: 20.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.00107/0.001069, allocations: 102.1 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 11.78 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.4316, allocations: 131.9 MB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.4319, allocations: 75.95 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.4457, allocations: 2.649 MB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4458, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.4458, allocations: 8 kB / 1.03 GB, free: 10.58 MB / 0.6823 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.001805/0.4476, allocations: 0.5514 MB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4477, allocations: 8.031 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.4479, allocations: 50.55 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.448, allocations: 23.72 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.4485, allocations: 250.7 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.4486, allocations: 16 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.4486, allocations: 20 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.45, allocations: 301.1 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4501, allocations: 4 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.4501, allocations: 11.98 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4501, allocations: 0 / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.4521, allocations: 355.6 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.4546, allocations: 0.691 MB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.4563, allocations: 310.4 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.4563, allocations: 4 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.4577, allocations: 316.8 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 4.479e-06/0.4577, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.003655/0.4614, allocations: 0.6823 MB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.4616, allocations: 59.41 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4619, allocations: 177.2 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/0.462, allocations: 37.64 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4621, allocations: 128.5 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4622, allocations: 71.09 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.4623, allocations: 4 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4624, allocations: 335.6 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.4635, allocations: 191.8 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4646, allocations: 201 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009992/0.4657, allocations: 188.3 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4657, allocations: 0 / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002217/0.4679, allocations: 464.9 kB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.468, allocations: 7.938 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.468, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.468, allocations: 15.98 kB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.4688, allocations: 87.88 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4689, allocations: 0 / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.4695, allocations: 71.78 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.4695, allocations: 4 kB / 1.036 GB, free: 4.793 MB / 0.6823 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 () * Number of clocked 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.0002697/0.4698, allocations: 165.3 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.4699, allocations: 23.72 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.47, allocations: 26.55 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.47, allocations: 0 / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.47, allocations: 4 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.47, allocations: 0 / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.4728, allocations: 0.8651 MB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4728, allocations: 4 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.4734, allocations: 55.94 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.4734, allocations: 7.938 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.4734, allocations: 11.98 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4735, allocations: 4 kB / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4735, allocations: 0 / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.4758, allocations: 0.5977 MB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.4759, allocations: 100.8 kB / 1.038 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/0.476, allocations: 12 kB / 1.038 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.4766, allocations: 55.94 kB / 1.038 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.4768, allocations: 47.91 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.4769, allocations: 11.98 kB / 1.038 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000156/0.4771, allocations: 135.4 kB / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4771, allocations: 0 / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000438/0.4775, allocations: 55.98 kB / 1.038 GB, free: 2.527 MB / 0.6823 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) * Number of clocked states: 0 () * 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.002756/0.4803, allocations: 1.157 MB / 1.039 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.4825, allocations: 443.6 kB / 1.039 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4826, allocations: 4 kB / 1.039 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4837, allocations: 239.8 kB / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.4842, allocations: 24.11 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.4899, allocations: 1.648 MB / 1.041 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4904, allocations: 0.7442 MB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.4907, allocations: 37.92 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.4909, allocations: 55.42 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/0.4909, allocations: 0 / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.5244, allocations: 4.653 MB / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/0.5248, allocations: 189.6 kB / 1.047 GB, free: 9.348 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.082, allocations: 0 / 1.047 GB, free: 9.348 MB / 0.698 GB