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.571/1.571, allocations: 252 MB / 267.3 MB, free: 10.85 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.001159/0.001159, allocations: 183.1 kB / 327 MB, free: 2.098 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.805/1.805, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.000777/0.000777, allocations: 87.86 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003447, allocations: 13.33 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002907/0.245, allocations: 1.711 MB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2465, allocations: 0.952 MB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2466, allocations: 7.938 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.247, allocations: 143.6 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.2473, allocations: 139.5 kB / 0.9038 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.2476, allocations: 158 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.2479, allocations: 275.2 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2481, allocations: 48.36 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2482, allocations: 115.4 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2484, allocations: 127.5 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.2484, allocations: 7.938 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.2485, allocations: 39.92 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.2486, allocations: 71.75 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2487, allocations: 140.8 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.249, allocations: 319 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.249, allocations: 4 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.249, allocations: 0 / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.249, allocations: 0 / 0.9051 GB, free: 59.13 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.0007217/0.2498, allocations: 0.5565 MB / 0.9056 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2498, allocations: 8.031 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.2499, allocations: 42.73 kB / 0.9056 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.2499, allocations: 32.47 kB / 0.9057 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.2503, allocations: 358.3 kB / 0.906 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2503, allocations: 8.375 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2503, allocations: 11.94 kB / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.2505, allocations: 105.6 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2506, allocations: 4 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2506, allocations: 4 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2506, allocations: 4 kB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2507, allocations: 62.45 kB / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.2514, allocations: 488.3 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2517, allocations: 134.7 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.2518, allocations: 48.83 kB / 0.9069 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2518, allocations: 11.92 kB / 0.9069 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.2521, allocations: 114.3 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2521, allocations: 4 kB / 0.907 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004557/0.2525, allocations: 217.3 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2526, allocations: 59.34 kB / 0.9072 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.253, allocations: 0.4898 MB / 0.9077 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.253, allocations: 29.7 kB / 0.9077 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2532, allocations: 164.4 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.2532, allocations: 39.55 kB / 0.9079 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.2532, allocations: 4 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2533, allocations: 346.8 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2535, allocations: 96.52 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2537, allocations: 131.6 kB / 0.9085 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.254, allocations: 187 kB / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.254, allocations: 0 / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004209/0.2544, allocations: 321.1 kB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2544, allocations: 4 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2544, allocations: 3.938 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2544, allocations: 4 kB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.2547, allocations: 55.84 kB / 0.909 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2547, allocations: 4.062 kB / 0.909 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2548, allocations: 12 kB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.2548, allocations: 15.98 kB / 0.9091 GB, free: 54.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.255, allocations: 185.7 kB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.255, allocations: 35.53 kB / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.2551, allocations: 31.02 kB / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2551, allocations: 11.88 kB / 0.9093 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2551, allocations: 0 / 0.9093 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2551, allocations: 4 kB / 0.9093 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.2554, allocations: 293.5 kB / 0.9096 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2554, allocations: 0 / 0.9096 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.2554, allocations: 12 kB / 0.9096 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2554, allocations: 0 / 0.9096 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2555, allocations: 11.98 kB / 0.9096 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2555, allocations: 3.938 kB / 0.9096 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2555, allocations: 4 kB / 0.9096 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.2558, allocations: 208.6 kB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.2559, allocations: 112.7 kB / 0.9099 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.2559, allocations: 7.984 kB / 0.91 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.319e-05/0.256, allocations: 11.94 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.2561, allocations: 15.97 kB / 0.91 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.2561, allocations: 8 kB / 0.91 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002452/0.2563, allocations: 299.1 kB / 0.9103 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2563, allocations: 0 / 0.9103 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002394/0.2566, allocations: 67.83 kB / 0.9103 GB, free: 53.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.2579, allocations: 1.052 MB / 0.9114 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.2583, allocations: 187.9 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2583, allocations: 0 / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2584, allocations: 59.91 kB / 0.9116 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.2588, allocations: 98.19 kB / 0.9117 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.2618, allocations: 3.108 MB / 0.9147 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.2621, allocations: 0.7831 MB / 0.9155 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.2622, allocations: 58.92 kB / 0.9156 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2623, allocations: 103.4 kB / 0.9157 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2623, allocations: 0 / 0.9157 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2783, allocations: 6.252 MB / 0.9218 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.2785, allocations: 261.6 kB / 0.922 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/2.718, allocations: 0 / 0.922 GB, free: 41.58 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)