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.702/1.702, allocations: 288.4 MB / 303.3 MB, free: 7.988 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.001011/0.001011, allocations: 187 kB / 372 MB, free: 10.24 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.418/1.418, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.000938/0.0009382, allocations: 89.23 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004588, allocations: 16.62 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2725, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002505/0.275, allocations: 1.64 MB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2769, allocations: 1.043 MB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.2771, allocations: 0 / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.2776, allocations: 155.5 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.2779, allocations: 119.6 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.2785, allocations: 167.7 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.2789, allocations: 267.2 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2791, allocations: 40.39 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.2793, allocations: 119.4 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2795, allocations: 123.5 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.2796, allocations: 8 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.2798, allocations: 43.97 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.2799, allocations: 75.73 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.2799, allocations: 73.5 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.2803, allocations: 275.6 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2803, allocations: 0 / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2803, allocations: 0 / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.2803, allocations: 0 / 0.9837 GB, free: 23.39 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.00103/0.2813, allocations: 0.5758 MB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2814, allocations: 16.02 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.2815, allocations: 38.5 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.2816, allocations: 43.47 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.2821, allocations: 357.2 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2821, allocations: 4 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.2821, allocations: 15.98 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2824, allocations: 101.6 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2824, allocations: 3.938 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2824, allocations: 4 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2824, allocations: 7.953 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.2826, allocations: 59.95 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.2834, allocations: 0.4887 MB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.2837, allocations: 142.6 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2838, allocations: 48.83 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.2839, allocations: 0 / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.2841, allocations: 115.3 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.2841, allocations: 3.938 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005101/0.2846, allocations: 219.5 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2847, allocations: 55.41 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.2852, allocations: 0.5015 MB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2852, allocations: 33.7 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2853, allocations: 168.4 kB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.2853, allocations: 39.55 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.2854, allocations: 4 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.2855, allocations: 346.8 kB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2857, allocations: 100.5 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.2859, allocations: 139.5 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.2861, allocations: 104.5 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2861, allocations: 0 / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005288/0.2867, allocations: 329 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.2867, allocations: 4.062 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2867, allocations: 8 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.2868, allocations: 0 / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.287, allocations: 55.91 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2871, allocations: 0 / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.2872, allocations: 23.83 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2873, allocations: 8 kB / 0.9877 GB, free: 19.05 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.0002014/0.2875, allocations: 185.8 kB / 0.9879 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.2876, allocations: 39.56 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2877, allocations: 35.12 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2877, allocations: 0 / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2877, allocations: 0 / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2877, allocations: 0 / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.288, allocations: 305.4 kB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.288, allocations: 0 / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.2881, allocations: 12 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2881, allocations: 3.953 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2881, allocations: 7.984 kB / 0.9883 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2881, allocations: 0 / 0.9883 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2881, allocations: 4 kB / 0.9883 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.2885, allocations: 208.5 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.2886, allocations: 112.7 kB / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.2887, allocations: 15.94 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2888, allocations: 4 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.2889, allocations: 19.97 kB / 0.9886 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2889, allocations: 8 kB / 0.9886 GB, free: 18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003395/0.2892, allocations: 319.1 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2892, allocations: 0 / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000311/0.2896, allocations: 63.92 kB / 0.989 GB, free: 17.63 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.001658/0.2912, allocations: 1.06 MB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.2916, allocations: 187.9 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2917, allocations: 0 / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.2918, allocations: 67.89 kB / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.2922, allocations: 84.42 kB / 0.9903 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.2951, allocations: 2.086 MB / 0.9924 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2954, allocations: 0.7831 MB / 0.9931 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.2955, allocations: 50.94 kB / 0.9932 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.2957, allocations: 107.4 kB / 0.9933 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2957, allocations: 4 kB / 0.9933 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3165, allocations: 6.982 MB / 1 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.3168, allocations: 239.7 kB / 1 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/2.705, allocations: 0 / 1 GB, free: 6.188 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)