Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.843/2.843, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001676/0.001676, allocations: 169.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001208/0.001207, allocations: 90.64 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 12.03 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2726, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002554/0.2753, allocations: 1.656 MB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2775, allocations: 1.016 MB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.2777, allocations: 0 / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.2782, allocations: 143.6 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.2786, allocations: 127.6 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.2793, allocations: 162.7 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.2796, allocations: 183.6 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2798, allocations: 52.3 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.28, allocations: 123.5 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2803, allocations: 123.5 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.2803, allocations: 4 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.2805, allocations: 31.98 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2806, allocations: 79.72 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.2807, allocations: 73.58 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.2811, allocations: 291.5 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2811, allocations: 0 / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2811, allocations: 0 / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2811, allocations: 0 / 0.9822 GB, free: 24.23 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.0011/0.2822, allocations: 0.5775 MB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2823, allocations: 16 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.2824, allocations: 38.56 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.2824, allocations: 35.53 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.2831, allocations: 361.2 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2831, allocations: 8 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.2832, allocations: 4 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.2835, allocations: 113.6 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2835, allocations: 0 / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.2836, allocations: 3.953 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2836, allocations: 4 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.2839, allocations: 59.95 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.2849, allocations: 0.4925 MB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.2854, allocations: 138.7 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2855, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.2858, allocations: 111.3 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.2858, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007704/0.2866, allocations: 222.2 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2867, allocations: 51.41 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007311/0.2874, allocations: 0.5054 MB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2875, allocations: 33.7 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2876, allocations: 164.6 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.2877, allocations: 39.53 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.2877, allocations: 12 kB / 0.9851 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.2878, allocations: 350.8 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.2881, allocations: 96.52 kB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.2884, allocations: 139.6 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.2887, allocations: 104.5 kB / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2888, allocations: 3.953 kB / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008054/0.2896, allocations: 329.1 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2896, allocations: 4 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2896, allocations: 0 / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.2897, allocations: 4 kB / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.2901, allocations: 55.91 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.2901, allocations: 0 / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.2904, allocations: 23.83 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.2904, allocations: 8 kB / 0.9862 GB, free: 19.95 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.0002324/0.2907, allocations: 181.8 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.2907, allocations: 39.56 kB / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.2908, allocations: 35.06 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2908, allocations: 4 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2909, allocations: 0 / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2909, allocations: 0 / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2912, allocations: 305.4 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2912, allocations: 0 / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2913, allocations: 19.89 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2914, allocations: 8 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2914, allocations: 3.984 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2914, allocations: 0 / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2914, allocations: 4 kB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.292, allocations: 205.6 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2921, allocations: 112.7 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.2922, allocations: 15.94 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.2924, allocations: 8 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.2925, allocations: 15.97 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.2925, allocations: 12 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000463/0.293, allocations: 315.1 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.372e-06/0.293, allocations: 0 / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000434/0.2935, allocations: 55.92 kB / 0.9875 GB, free: 18.53 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.00187/0.2953, allocations: 1.063 MB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006419/0.296, allocations: 187.8 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.296, allocations: 0 / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.2963, allocations: 59.97 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.2969, allocations: 89.48 kB / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.2985, allocations: 1.163 MB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2988, allocations: 0.7948 MB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.2991, allocations: 54.94 kB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.2993, allocations: 107.4 kB / 0.9909 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.2993, allocations: 0 / 0.9909 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.3273, allocations: 6.779 MB / 0.9975 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.3276, allocations: 224.9 kB / 0.9977 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.058, allocations: 0 / 0.9977 GB, free: 8.215 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)