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.147/2.147, 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.00166/0.001659, allocations: 183.1 kB / 325.5 MB, free: 2.891 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.481/2.481, allocations: 205.4 MB / 0.5764 GB, free: 21.15 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.001149/0.001148, allocations: 104.4 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005325, allocations: 15.97 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.4412, allocations: 131.7 MB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4415, allocations: 71.95 kB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4519, allocations: 2.063 MB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.452, allocations: 4 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.452, allocations: 0 / 1.029 GB, free: 11.94 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001503/0.4535, allocations: 0.5064 MB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4536, allocations: 8.031 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.4537, allocations: 38.75 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.4538, allocations: 23.7 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.454, allocations: 206.8 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4541, allocations: 12 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.4541, allocations: 8 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.4553, allocations: 233.8 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4553, allocations: 3.953 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.4553, allocations: 8 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4553, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.4569, allocations: 243.7 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.4589, allocations: 0.8253 MB / 1.032 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.4602, allocations: 265.9 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4602, allocations: 4 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009745/0.4612, allocations: 235.5 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.4612, allocations: 0 / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002505/0.4637, allocations: 437.7 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4639, allocations: 162.2 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.4641, allocations: 146 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4641, allocations: 33.7 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.4642, allocations: 119.9 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.4643, allocations: 35.7 kB / 1.033 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.4643, allocations: 0 / 1.033 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4645, allocations: 330.8 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007852/0.4653, allocations: 127.9 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/0.4661, allocations: 169.9 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.4669, allocations: 133.3 kB / 1.034 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.467, allocations: 0 / 1.034 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00174/0.4687, allocations: 333.2 kB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4687, allocations: 8 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4688, allocations: 0 / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4688, allocations: 4 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.4694, allocations: 67.88 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.4694, allocations: 0 / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.4699, allocations: 63.78 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.47, allocations: 11.98 kB / 1.034 GB, free: 6.859 MB / 0.6823 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 () * Number of clocked 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.0001866/0.4702, allocations: 135.5 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.4702, allocations: 19.75 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.4703, allocations: 20.94 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4703, allocations: 7.984 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.4704, allocations: 4 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4704, allocations: 0 / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.4707, allocations: 225.5 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4707, allocations: 8 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.4711, allocations: 55.94 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.4711, allocations: 4 kB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.4712, allocations: 0 / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.4712, allocations: 8 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4712, allocations: 0 / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.4729, allocations: 402.9 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.473, allocations: 92.95 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.4731, allocations: 3.984 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.4736, allocations: 59.91 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.4737, allocations: 31.89 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.4738, allocations: 4 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001448/0.4739, allocations: 131.2 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4739, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003437/0.4743, allocations: 39.91 kB / 1.035 GB, free: 5.5 MB / 0.6823 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) * Number of clocked states: 0 () * 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.002139/0.4764, allocations: 1.202 MB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.4782, allocations: 287.7 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4782, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.4792, allocations: 156 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4796, allocations: 34.11 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.4843, allocations: 1.793 MB / 1.039 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4847, allocations: 0.716 MB / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.485, allocations: 24.86 kB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.4851, allocations: 43.42 kB / 1.039 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.4851, allocations: 0 / 1.039 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.509, allocations: 3.229 MB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/0.5094, allocations: 200.7 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/2.993, allocations: 0 / 1.043 GB, free: 13.79 MB / 0.698 GB