Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001891/0.00189, allocations: 184.9 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008841/0.000884, allocations: 89.34 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.526e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.795, allocations: 116.3 MB / 0.9734 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/1.013, allocations: 138.3 MB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.013, allocations: 71.95 kB / 1.109 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06429/1.078, allocations: 21.11 MB / 1.129 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/1.078, allocations: 0 / 1.129 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.3e-05/1.078, allocations: 4 kB / 1.129 GB, free: 6.766 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.0009426/1.079, allocations: 0.4902 MB / 1.13 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.079, allocations: 12.03 kB / 1.13 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/1.079, allocations: 27.72 kB / 1.13 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/1.08, allocations: 376.2 kB / 1.13 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.08, allocations: 4 kB / 1.13 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/1.08, allocations: 16 kB / 1.13 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001937/1.08, allocations: 107.9 kB / 1.13 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/1.08, allocations: 188.1 kB / 1.13 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/1.08, allocations: 0 / 1.13 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/1.08, allocations: 4 kB / 1.13 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.08, allocations: 0 / 1.13 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/1.081, allocations: 357.4 kB / 1.131 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/1.081, allocations: 315.7 kB / 1.131 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/1.082, allocations: 126.6 kB / 1.131 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/1.082, allocations: 8 kB / 1.131 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/1.082, allocations: 274.5 kB / 1.131 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.214e-06/1.082, allocations: 3.938 kB / 1.131 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0008897/1.083, allocations: 398.7 kB / 1.132 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/1.083, allocations: 114.8 kB / 1.132 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/1.084, allocations: 349.1 kB / 1.132 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/1.084, allocations: 33.69 kB / 1.132 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/1.084, allocations: 157.5 kB / 1.132 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/1.084, allocations: 39.59 kB / 1.132 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.084, allocations: 0 / 1.132 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.084, allocations: 346.8 kB / 1.133 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.084, allocations: 75.97 kB / 1.133 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/1.085, allocations: 457.8 kB / 1.133 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/1.086, allocations: 156.9 kB / 1.133 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.086, allocations: 3.953 kB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000807/1.087, allocations: 330.1 kB / 1.134 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.087, allocations: 8.938 kB / 1.134 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.087, allocations: 4 kB / 1.134 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.087, allocations: 4 kB / 1.134 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/1.087, allocations: 36.33 kB / 1.134 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.087, allocations: 15.92 kB / 1.134 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/1.087, allocations: 40.05 kB / 1.134 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/1.088, allocations: 15.98 kB / 1.134 GB, free: 1.566 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.0002262/1.088, allocations: 131.4 kB / 1.134 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007073/1.089, allocations: 393.1 kB / 1.134 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/1.089, allocations: 27.62 kB / 1.134 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.089, allocations: 34.02 kB / 1.134 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.089, allocations: 4 kB / 1.134 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.089, allocations: 2.625 kB / 1.134 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.089, allocations: 0 / 1.134 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/1.089, allocations: 262 kB / 1.135 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.089, allocations: 0 / 1.135 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/1.089, allocations: 4 kB / 1.135 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/1.089, allocations: 11.94 kB / 1.135 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.089, allocations: 7.984 kB / 1.135 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.089, allocations: 2.062 kB / 1.135 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.089, allocations: 2.109 kB / 1.135 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/1.09, allocations: 459.9 kB / 1.135 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.09, allocations: 116.8 kB / 1.135 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/1.09, allocations: 0 / 1.135 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/1.09, allocations: 8 kB / 1.135 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/1.09, allocations: 23.95 kB / 1.135 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/1.09, allocations: 12 kB / 1.135 GB, free: 0 / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003891/1.091, allocations: 276.5 kB / 1.136 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 3.938 kB / 1.136 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000504/1.091, allocations: 79.89 kB / 1.136 GB, free: 15.65 MB / 0.7448 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.001019/1.092, allocations: 1.149 MB / 1.137 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003595/1.093, allocations: 240.2 kB / 1.137 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.093, allocations: 0 / 1.137 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.093, allocations: 140 kB / 1.137 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/1.093, allocations: 26.88 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/1.094, allocations: 0.5256 MB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/1.094, allocations: 0.7816 MB / 1.138 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001526/1.094, allocations: 43.7 kB / 1.138 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/1.095, allocations: 91.39 kB / 1.139 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.095, allocations: 0 / 1.139 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/1.119, allocations: 6.512 MB / 1.145 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.119, allocations: 181.5 kB / 1.145 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/3.177, allocations: 0 / 1.145 GB, free: 6.016 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)