Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001168/0.001168, allocations: 185.7 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000993/0.0009931, allocations: 96.23 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 10.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002441/0.2839, allocations: 1.657 MB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2854, allocations: 0.9017 MB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2855, allocations: 4 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.2859, allocations: 135.5 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.2862, allocations: 127.7 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.2866, allocations: 150.2 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.2869, allocations: 179.6 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.287, allocations: 40.36 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2872, allocations: 123.5 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2874, allocations: 111.6 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2874, allocations: 4 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.2875, allocations: 20 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.2876, allocations: 79.72 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.2876, allocations: 61.58 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.2879, allocations: 267.6 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2879, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2879, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2879, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007796/0.2887, allocations: 0.568 MB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2888, allocations: 8.031 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.2888, allocations: 34.56 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.2889, allocations: 35.53 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.2893, allocations: 341.4 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2893, allocations: 8 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2894, allocations: 7.938 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2896, allocations: 109.5 kB / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2896, allocations: 0 / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2896, allocations: 11.94 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2896, allocations: 4 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.2898, allocations: 58.62 kB / 0.9051 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.2904, allocations: 488.4 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.2908, allocations: 130.8 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2908, allocations: 8 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.2911, allocations: 115.4 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.043e-06/0.2911, allocations: 0 / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004545/0.2915, allocations: 231.5 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2916, allocations: 51.41 kB / 0.906 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.292, allocations: 497.5 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.292, allocations: 33.7 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.2921, allocations: 172.3 kB / 0.9067 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2922, allocations: 35.55 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.2922, allocations: 8 kB / 0.9067 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.2923, allocations: 343 kB / 0.9071 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2924, allocations: 96.52 kB / 0.9072 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2926, allocations: 131.6 kB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2928, allocations: 108 kB / 0.9074 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2928, allocations: 0 / 0.9074 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004431/0.2933, allocations: 329.6 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2933, allocations: 4 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2933, allocations: 0 / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2933, allocations: 4 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.2935, allocations: 47.91 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2936, allocations: 4 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2937, allocations: 11.91 kB / 0.9078 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2937, allocations: 15.98 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001458/0.2939, allocations: 185.8 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.2939, allocations: 31.58 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.294, allocations: 35.02 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.294, allocations: 0 / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.294, allocations: 3.984 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.294, allocations: 0 / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2942, allocations: 305.3 kB / 0.9083 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2942, allocations: 0 / 0.9083 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.2943, allocations: 8 kB / 0.9083 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.2943, allocations: 7.953 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2944, allocations: 11.98 kB / 0.9083 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2944, allocations: 0 / 0.9083 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2944, allocations: 3.938 kB / 0.9084 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.2947, allocations: 196.7 kB / 0.9085 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.2948, allocations: 116.7 kB / 0.9087 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.2948, allocations: 7.938 kB / 0.9087 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.2949, allocations: 8 kB / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.295, allocations: 23.97 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.295, allocations: 4 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002489/0.2952, allocations: 303.1 kB / 0.909 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2953, allocations: 0 / 0.909 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002607/0.2955, allocations: 52 kB / 0.909 GB, free: 54.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001319/0.2968, allocations: 1.064 MB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.2972, allocations: 187.8 kB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2972, allocations: 0 / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2974, allocations: 60.53 kB / 0.9103 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.2977, allocations: 83.09 kB / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2988, allocations: 1.151 MB / 0.9115 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2991, allocations: 0.7986 MB / 0.9123 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.2992, allocations: 58.92 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2993, allocations: 103.4 kB / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2994, allocations: 0 / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.3165, allocations: 6.485 MB / 0.9188 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.3168, allocations: 236.3 kB / 0.919 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.524, allocations: 4 kB / 0.919 GB, free: 44.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)