Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.808/2.808, allocations: 285.6 MB / 293.1 MB, free: 10.17 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 176.9 kB / 361.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.071/3.071, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 94 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.409e-05, allocations: 4 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343/1.343, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/1.677, allocations: 137.3 MB / 1.099 GB, free: 2.395 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.678, allocations: 73.22 kB / 1.099 GB, free: 2.324 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1091/1.787, allocations: 21.11 MB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.77e-06/1.787, allocations: 0 / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.421e-05/1.787, allocations: 8 kB / 1.119 GB, free: 13.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001681/1.789, allocations: 0.4907 MB / 1.12 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.569e-05/1.789, allocations: 8.031 kB / 1.12 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/1.789, allocations: 34.44 kB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.791, allocations: 376.2 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/1.791, allocations: 3.984 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.791, allocations: 16 kB / 1.12 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003302/1.791, allocations: 107.9 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/1.792, allocations: 192.1 kB / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.792, allocations: 0 / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/1.792, allocations: 0 / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.792, allocations: 0 / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/1.793, allocations: 363.6 kB / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/1.794, allocations: 307.8 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/1.794, allocations: 130.5 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/1.794, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007035/1.795, allocations: 278.8 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 3.346e-06/1.795, allocations: 0 / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.001395/1.796, allocations: 398.7 kB / 1.122 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.796, allocations: 118.7 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/1.797, allocations: 346.8 kB / 1.122 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.797, allocations: 33.7 kB / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/1.797, allocations: 153.6 kB / 1.122 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/1.797, allocations: 35.61 kB / 1.123 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/1.798, allocations: 0 / 1.123 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.798, allocations: 342.8 kB / 1.123 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.798, allocations: 88.7 kB / 1.123 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/1.799, allocations: 454.3 kB / 1.123 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/1.8, allocations: 159.5 kB / 1.124 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.8, allocations: 3.953 kB / 1.124 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001186/1.801, allocations: 329.3 kB / 1.124 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.801, allocations: 12.03 kB / 1.124 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.801, allocations: 4 kB / 1.124 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/1.801, allocations: 4 kB / 1.124 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/1.801, allocations: 31.92 kB / 1.124 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.801, allocations: 7.938 kB / 1.124 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.802, allocations: 48.03 kB / 1.124 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/1.803, allocations: 12 kB / 1.124 GB, free: 8.113 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003109/1.803, allocations: 132.8 kB / 1.124 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001072/1.804, allocations: 399.1 kB / 1.124 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/1.804, allocations: 31.61 kB / 1.124 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/1.804, allocations: 34.02 kB / 1.125 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/1.804, allocations: 0 / 1.125 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.804, allocations: 0 / 1.125 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.804, allocations: 4 kB / 1.125 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/1.805, allocations: 266.1 kB / 1.125 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.805, allocations: 3.938 kB / 1.125 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/1.805, allocations: 7.938 kB / 1.125 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/1.805, allocations: 3.984 kB / 1.125 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/1.805, allocations: 4 kB / 1.125 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.805, allocations: 3.984 kB / 1.125 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.805, allocations: 4 kB / 1.125 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/1.806, allocations: 462.3 kB / 1.125 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.806, allocations: 106.5 kB / 1.125 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/1.806, allocations: 7.984 kB / 1.125 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.806, allocations: 0 / 1.125 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/1.807, allocations: 15.98 kB / 1.125 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/1.807, allocations: 19.98 kB / 1.125 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005556/1.807, allocations: 280.5 kB / 1.126 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.71e-07/1.807, allocations: 0 / 1.126 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008121/1.808, allocations: 79.88 kB / 1.126 GB, free: 6.188 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002406/1.81, allocations: 1.161 MB / 1.127 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007572/1.811, allocations: 233.6 kB / 1.127 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.811, allocations: 4 kB / 1.127 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/1.812, allocations: 135.9 kB / 1.127 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/1.812, allocations: 25.53 kB / 1.127 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/1.814, allocations: 0.5294 MB / 1.128 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/1.815, allocations: 0.7763 MB / 1.129 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003275/1.815, allocations: 50.06 kB / 1.129 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/1.815, allocations: 83.41 kB / 1.129 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/1.815, allocations: 0 / 1.129 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.952, allocations: 6.513 MB / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003827/1.952, allocations: 166.7 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/4.329, allocations: 0.75 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)