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 3.214/3.214, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.00131/0.001309, allocations: 176.8 kB / 371 MB, free: 10.84 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.191/2.191, allocations: 205.4 MB / 0.6297 GB, free: 10.54 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.0009245/0.0009245, allocations: 102.1 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007482/0.0007486, allocations: 12.97 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2565, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003693/0.2602, allocations: 1.648 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.2635, allocations: 1.039 MB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.2638, allocations: 3.938 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.2645, allocations: 147.6 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.2651, allocations: 123.5 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009453/0.266, allocations: 155.1 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.2666, allocations: 271.1 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.2669, allocations: 44.38 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.2672, allocations: 123.4 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2676, allocations: 127.5 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.2677, allocations: 4 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.268, allocations: 47.98 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2681, allocations: 79.72 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.2682, allocations: 65.52 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.2688, allocations: 279.5 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2688, allocations: 0 / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2688, allocations: 0 / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2689, allocations: 4 kB / 0.9825 GB, free: 24.05 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.001536/0.2704, allocations: 0.5718 MB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2705, allocations: 20.02 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.2705, allocations: 38.55 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.2706, allocations: 35.53 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.2713, allocations: 361.2 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2713, allocations: 4 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.2714, allocations: 12 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.2717, allocations: 103.3 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2717, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.2718, allocations: 15.94 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2718, allocations: 4 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.2721, allocations: 55.97 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.2735, allocations: 0.4925 MB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.2743, allocations: 134.8 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.2745, allocations: 48.83 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.2746, allocations: 0 / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.275, allocations: 115.3 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.036e-06/0.275, allocations: 4 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0009749/0.276, allocations: 216.1 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2761, allocations: 59.39 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.2772, allocations: 0.5015 MB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.2772, allocations: 33.7 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.2774, allocations: 160.4 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.2775, allocations: 43.48 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2775, allocations: 4 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2777, allocations: 354.8 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.2781, allocations: 92.52 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.2785, allocations: 139.5 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.2789, allocations: 112.4 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.279, allocations: 0 / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0011/0.2801, allocations: 325.1 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2801, allocations: 4 kB / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2801, allocations: 7.984 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2802, allocations: 0 / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.2807, allocations: 51.92 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.2807, allocations: 15.92 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.2811, allocations: 15.84 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.2812, allocations: 11.98 kB / 0.9865 GB, free: 19.71 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.0003143/0.2815, allocations: 195.1 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2816, allocations: 27.62 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2817, allocations: 35.12 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2817, allocations: 0 / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-06/0.2818, allocations: 0 / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2818, allocations: 0 / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.2822, allocations: 305.4 kB / 0.987 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2822, allocations: 3.953 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.2824, allocations: 15.98 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.2824, allocations: 4 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.2825, allocations: 4 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2825, allocations: 0 / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2825, allocations: 3.938 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.2832, allocations: 208.6 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2834, allocations: 116.7 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.2835, allocations: 8 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2837, allocations: 11.98 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2839, allocations: 15.98 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2839, allocations: 8 kB / 0.9874 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006692/0.2846, allocations: 319.1 kB / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2846, allocations: 0 / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007017/0.2853, allocations: 52 kB / 0.9878 GB, free: 18.3 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.002505/0.2879, allocations: 1.063 MB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009743/0.2889, allocations: 191.8 kB / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2889, allocations: 0 / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.2893, allocations: 65.53 kB / 0.9891 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.2903, allocations: 83.44 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/0.2963, allocations: 2.075 MB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2967, allocations: 0.7869 MB / 0.9919 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.2971, allocations: 58.94 kB / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.2974, allocations: 107.4 kB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/0.2974, allocations: 0 / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.3352, allocations: 6.983 MB / 0.9989 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.3355, allocations: 230.1 kB / 0.9991 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.181, allocations: 0 / 0.9991 GB, free: 6.887 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)