Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_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 1.641/1.641, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.0009787/0.0009789, allocations: 185.7 kB / 372 MB, free: 10.27 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.891/1.891, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.0009425, allocations: 87.67 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006714/0.0006715, allocations: 12.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2793, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001192/0.2806, allocations: 0.5445 MB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2829, allocations: 1.422 MB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.283, allocations: 4 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.2836, allocations: 191.5 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2838, allocations: 103.7 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2849, allocations: 316.2 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008106/0.2857, allocations: 0.6551 MB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.286, allocations: 80.42 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.2863, allocations: 307.4 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.2867, allocations: 215.4 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2868, allocations: 16 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.2871, allocations: 87.86 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.2875, allocations: 295.4 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.2877, allocations: 89.45 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.2884, allocations: 0.7018 MB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2884, allocations: 0 / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2884, allocations: 4 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.2884, allocations: 0 / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001439/0.2899, allocations: 0.7009 MB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.2899, allocations: 12.02 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/0.29, allocations: 46.55 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.2902, allocations: 63.38 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.2911, allocations: 0.5206 MB / 0.9859 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.2912, allocations: 24.23 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.2913, allocations: 39.94 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.2919, allocations: 307.5 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2919, allocations: 0 / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.292, allocations: 4 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.292, allocations: 4 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.2924, allocations: 219.8 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.295, allocations: 1.195 MB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.2958, allocations: 467.7 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.2962, allocations: 174.6 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2962, allocations: 4 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005849/0.2968, allocations: 335.2 kB / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 2.325e-06/0.2968, allocations: 4 kB / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.001355/0.2982, allocations: 0.6218 MB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.2982, allocations: 118.8 kB / 0.9893 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.2991, allocations: 0.5993 MB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.2993, allocations: 41.7 kB / 0.9899 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2996, allocations: 230.6 kB / 0.9901 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.2996, allocations: 51.41 kB / 0.9901 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.2997, allocations: 4 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2998, allocations: 362.8 kB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3001, allocations: 131.8 kB / 0.9906 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009953/0.3011, allocations: 0.7142 MB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3014, allocations: 171.9 kB / 0.9915 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3014, allocations: 0 / 0.9915 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007638/0.3022, allocations: 416.8 kB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3022, allocations: 10.03 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3022, allocations: 4 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3023, allocations: 4 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3024, allocations: 43.84 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3025, allocations: 7.938 kB / 0.9919 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3038, allocations: 139.1 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.3038, allocations: 12 kB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000256/0.3041, allocations: 269.5 kB / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3041, allocations: 43.44 kB / 0.9924 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.3042, allocations: 51.38 kB / 0.9924 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3042, allocations: 7.969 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3043, allocations: 4 kB / 0.9925 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3043, allocations: 0 / 0.9925 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.3046, allocations: 405.2 kB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3046, allocations: 0 / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.3046, allocations: 7.984 kB / 0.9928 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3046, allocations: 4 kB / 0.9928 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3047, allocations: 4 kB / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3047, allocations: 4 kB / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3047, allocations: 240 / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.3052, allocations: 0.5202 MB / 0.9934 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.3053, allocations: 140.5 kB / 0.9935 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.3054, allocations: 4 kB / 0.9935 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3055, allocations: 24.22 kB / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.3056, allocations: 31.97 kB / 0.9936 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3057, allocations: 19.98 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003781/0.306, allocations: 431 kB / 0.994 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.306, allocations: 0 / 0.994 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000441/0.3065, allocations: 111.8 kB / 0.9941 GB, free: 12.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0009814/0.3075, allocations: 1.1 MB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.3081, allocations: 352.2 kB / 0.9955 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3081, allocations: 4.188 kB / 0.9955 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.3083, allocations: 183.8 kB / 0.9957 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3087, allocations: 49.64 kB / 0.9957 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.3133, allocations: 3.209 MB / 0.9989 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3138, allocations: 0.8308 MB / 0.9997 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.3141, allocations: 98.91 kB / 0.9998 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3143, allocations: 127.4 kB / 0.9999 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of SimCode: time 1.994e-06/0.3143, allocations: 0 / 0.9999 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3388, allocations: 11.5 MB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.3391, allocations: 211.2 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.553, allocations: 4 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)