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.651/1.651, allocations: 252 MB / 267 MB, free: 10.94 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.001099/0.0011, allocations: 190.4 kB / 326.6 MB, free: 2.195 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.083/2.083, allocations: 205.4 MB / 0.5776 GB, free: 20.22 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.0008709/0.0008709, allocations: 103.5 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 12.56 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2762, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.00265/0.2789, allocations: 1.66 MB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.2807, allocations: 0.9173 MB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2809, allocations: 4 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.2814, allocations: 151.6 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.2818, allocations: 119.5 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2823, allocations: 140.4 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2826, allocations: 251.2 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2828, allocations: 48.36 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.283, allocations: 111.5 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2832, allocations: 119.5 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.2832, allocations: 4 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2834, allocations: 27.98 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.2835, allocations: 75.73 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.2836, allocations: 69.52 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.2839, allocations: 267.6 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2839, allocations: 0 / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2839, allocations: 0 / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2839, allocations: 0 / 0.9042 GB, free: 59.81 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.0008811/0.2848, allocations: 0.5564 MB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.2849, allocations: 15.97 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.2849, allocations: 38.55 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.285, allocations: 35.53 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.2855, allocations: 345.4 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2855, allocations: 4 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.2856, allocations: 8 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.2859, allocations: 112.5 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2859, allocations: 0 / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.286, allocations: 7.953 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.286, allocations: 0 / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.2862, allocations: 63.89 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.287, allocations: 492.4 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.2874, allocations: 130.7 kB / 0.9059 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2876, allocations: 52.83 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.2876, allocations: 0 / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.288, allocations: 111.5 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.567e-06/0.288, allocations: 0 / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0006597/0.2886, allocations: 221.1 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2887, allocations: 59.41 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.2893, allocations: 497.5 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2893, allocations: 29.7 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2895, allocations: 168.3 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.2895, allocations: 35.55 kB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.2896, allocations: 7.984 kB / 0.907 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.2897, allocations: 346.8 kB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.2899, allocations: 92.52 kB / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.2902, allocations: 135.6 kB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.2904, allocations: 111.9 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2904, allocations: 3.953 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006246/0.2911, allocations: 317.7 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2911, allocations: 8 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2911, allocations: 0 / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2911, allocations: 8.062 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2914, allocations: 47.91 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2915, allocations: 4 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.2917, allocations: 11.91 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.2917, allocations: 15.98 kB / 0.9081 GB, free: 55.56 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.000188/0.2919, allocations: 185.8 kB / 0.9083 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.292, allocations: 31.58 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.2921, allocations: 39.02 kB / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2921, allocations: 3.984 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2921, allocations: 0 / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2921, allocations: 0 / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2924, allocations: 309.3 kB / 0.9086 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2924, allocations: 0 / 0.9086 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.2925, allocations: 11.95 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2925, allocations: 4 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2925, allocations: 7.984 kB / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2926, allocations: 0 / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2926, allocations: 0 / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.293, allocations: 210.2 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.2931, allocations: 116.7 kB / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.2932, allocations: 7.938 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2933, allocations: 8 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.2934, allocations: 23.91 kB / 0.909 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2934, allocations: 4 kB / 0.909 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004011/0.2938, allocations: 307.1 kB / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2938, allocations: 0 / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003983/0.2943, allocations: 52 kB / 0.9094 GB, free: 54.17 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.001712/0.296, allocations: 1.052 MB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.2965, allocations: 197.3 kB / 0.9106 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2965, allocations: 0 / 0.9106 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2967, allocations: 59.91 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.2974, allocations: 82.39 kB / 0.9107 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.301, allocations: 2.003 MB / 0.9127 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3013, allocations: 0.7831 MB / 0.9134 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.3015, allocations: 54.92 kB / 0.9135 GB, free: 50 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.3017, allocations: 103.4 kB / 0.9136 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.3018, allocations: 0 / 0.9136 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.3243, allocations: 6.677 MB / 0.9201 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.3246, allocations: 249.5 kB / 0.9203 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.477, allocations: 0 / 0.9203 GB, free: 43.11 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)