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.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001414/0.001414, allocations: 180.1 kB / 326.5 MB, free: 2.238 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.048/2.048, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009631/0.0009632, allocations: 94.06 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004357, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.3889, allocations: 135.3 MB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3892, allocations: 83.94 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03078/0.42, allocations: 10.62 MB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4201, allocations: 0 / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.232e-05/0.4201, allocations: 8 kB / 1.043 GB, free: 13.61 MB / 0.698 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.001093/0.4212, allocations: 0.593 MB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4213, allocations: 11.97 kB / 1.043 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.4213, allocations: 42.55 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.4214, allocations: 35.53 kB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.4223, allocations: 377.3 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.4223, allocations: 7.984 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.4224, allocations: 8 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.4227, allocations: 121.5 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4227, allocations: 0 / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4227, allocations: 0 / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4228, allocations: 7.984 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.423, allocations: 63.95 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.424, allocations: 0.5081 MB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.4245, allocations: 138.7 kB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4245, allocations: 0 / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.4249, allocations: 119.9 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.4249, allocations: 0 / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007726/0.4257, allocations: 237.2 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.4257, allocations: 51.41 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.4266, allocations: 460.8 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.4267, allocations: 29.7 kB / 1.045 GB, free: 10.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.4268, allocations: 164.3 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.4269, allocations: 43.59 kB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4269, allocations: 4 kB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4271, allocations: 350.8 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.4275, allocations: 116.5 kB / 1.046 GB, free: 9.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.4279, allocations: 151.5 kB / 1.046 GB, free: 9.793 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.4282, allocations: 128 kB / 1.046 GB, free: 9.668 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4282, allocations: 0 / 1.046 GB, free: 9.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009156/0.4292, allocations: 365.8 kB / 1.047 GB, free: 9.305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4292, allocations: 4 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4292, allocations: 11.94 kB / 1.047 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4293, allocations: 0 / 1.047 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.4296, allocations: 59.86 kB / 1.047 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4296, allocations: 0 / 1.047 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.4299, allocations: 19.91 kB / 1.047 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.43, allocations: 19.98 kB / 1.047 GB, free: 9.191 MB / 0.698 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.u1,product.u2,product.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.0002502/0.4303, allocations: 177.8 kB / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.4303, allocations: 31.62 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.431, allocations: 204.6 kB / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.431, allocations: 0 / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.431, allocations: 3.953 kB / 1.047 GB, free: 8.762 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.431, allocations: 4 kB / 1.047 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.4314, allocations: 309.4 kB / 1.048 GB, free: 8.406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4315, allocations: 0 / 1.048 GB, free: 8.406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.4316, allocations: 19.94 kB / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4316, allocations: 0 / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.4316, allocations: 7.984 kB / 1.048 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4317, allocations: 4 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4317, allocations: 0 / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.4322, allocations: 225.8 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.4324, allocations: 112.7 kB / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.4325, allocations: 8 kB / 1.048 GB, free: 8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4327, allocations: 11.92 kB / 1.048 GB, free: 7.988 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.4327, allocations: 15.98 kB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.4328, allocations: 11.98 kB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005198/0.4333, allocations: 311.1 kB / 1.048 GB, free: 7.656 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.375e-06/0.4333, allocations: 0 / 1.048 GB, free: 7.656 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005404/0.4339, allocations: 75.73 kB / 1.048 GB, free: 7.582 MB / 0.698 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.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.002059/0.436, allocations: 1.087 MB / 1.049 GB, free: 6.629 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005864/0.4366, allocations: 195.8 kB / 1.05 GB, free: 6.438 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4366, allocations: 4.125 kB / 1.05 GB, free: 6.434 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.4368, allocations: 75.84 kB / 1.05 GB, free: 6.359 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.4374, allocations: 72.28 kB / 1.05 GB, free: 6.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.4393, allocations: 1.194 MB / 1.051 GB, free: 5.043 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4398, allocations: 0.791 MB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.44, allocations: 62.92 kB / 1.052 GB, free: 4.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.4403, allocations: 107.3 kB / 1.052 GB, free: 4.055 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.4403, allocations: 0 / 1.052 GB, free: 4.055 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4848/0.9251, allocations: 6.743 MB / 1.058 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.9253, allocations: 233.4 kB / 1.059 GB, free: 148.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.989, allocations: 0 / 1.059 GB, free: 148.5 MB / 0.698 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)