Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.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.Integers.Validation.Product,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001611/0.001611, allocations: 177 kB / 371.8 MB, free: 10.29 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.717/1.717, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001034/0.001035, allocations: 102.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 11.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2754, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002568/0.2781, allocations: 1.644 MB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.28, allocations: 1.016 MB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.2803, allocations: 4 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.2808, allocations: 135.6 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.2812, allocations: 135.6 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2818, allocations: 163.7 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.2822, allocations: 187.6 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2824, allocations: 44.34 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.2827, allocations: 131.5 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2829, allocations: 123.4 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.2829, allocations: 4 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2831, allocations: 35.98 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.2832, allocations: 75.72 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.2833, allocations: 65.58 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.2837, allocations: 291.5 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2837, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2837, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.2837, allocations: 0 / 0.9834 GB, free: 23.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001142/0.2848, allocations: 0.5758 MB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.2849, allocations: 12.02 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.285, allocations: 42.55 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.2851, allocations: 35.48 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.2857, allocations: 361.2 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.2857, allocations: 8 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.2857, allocations: 8 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.286, allocations: 109.6 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.286, allocations: 0 / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.286, allocations: 4 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.286, allocations: 3.953 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.2862, allocations: 59.95 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.2871, allocations: 0.4886 MB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2874, allocations: 134.7 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.2875, allocations: 7.984 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.2877, allocations: 107.3 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2877, allocations: 0 / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005161/0.2882, allocations: 221.3 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2883, allocations: 51.62 kB / 0.9856 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.2888, allocations: 0.5054 MB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2888, allocations: 33.64 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.289, allocations: 172.4 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.289, allocations: 31.55 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.289, allocations: 12 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2891, allocations: 342.8 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.2893, allocations: 104.5 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.2895, allocations: 131.6 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.2897, allocations: 108.5 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2897, allocations: 0 / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004946/0.2902, allocations: 329 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2902, allocations: 11.94 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2903, allocations: 0 / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-05/0.2903, allocations: 8 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.2905, allocations: 51.91 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.2905, allocations: 7.984 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.2907, allocations: 23.83 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.2908, allocations: 8 kB / 0.9874 GB, free: 19.26 MB / 0.6198 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.0001731/0.2909, allocations: 182.8 kB / 0.9876 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.291, allocations: 39.56 kB / 0.9876 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.2911, allocations: 35.12 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2911, allocations: 7.984 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.2911, allocations: 0 / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2911, allocations: 0 / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2913, allocations: 293.4 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2914, allocations: 4 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.2914, allocations: 15.92 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2914, allocations: 7.953 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2915, allocations: 11.98 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2915, allocations: 0 / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2915, allocations: 0 / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.2918, allocations: 204.6 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.2919, allocations: 116.7 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.292, allocations: 7.891 kB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.2921, allocations: 15.98 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.2922, allocations: 19.97 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2922, allocations: 4 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002758/0.2925, allocations: 315.1 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2925, allocations: 0 / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002899/0.2928, allocations: 55.98 kB / 0.9887 GB, free: 17.85 MB / 0.6198 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.001407/0.2942, allocations: 1.076 MB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.2946, allocations: 187.8 kB / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2946, allocations: 0 / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.2947, allocations: 55.97 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2951, allocations: 82.44 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2963, allocations: 1.166 MB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.2965, allocations: 0.7987 MB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.2967, allocations: 62.92 kB / 0.992 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2969, allocations: 107.4 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2969, allocations: 0 / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.3175, allocations: 6.781 MB / 0.9987 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.3177, allocations: 238 kB / 0.9989 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.398, allocations: 0 / 0.9989 GB, free: 7.477 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)