Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.033/2.033, allocations: 292.3 MB / 308.1 MB, free: 4.332 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.001527/0.001527, allocations: 191.8 kB / 376.9 MB, free: 1.801 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.814/1.814, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 106.1 kB / 0.748 GB, free: 61.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2925, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.00378/0.2963, allocations: 2.038 MB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2983, allocations: 1.105 MB / 0.9853 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2985, allocations: 11.94 kB / 0.9853 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.299, allocations: 147.6 kB / 0.9855 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.2993, allocations: 143.5 kB / 0.9856 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2998, allocations: 171.8 kB / 0.9858 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.3002, allocations: 299.1 kB / 0.986 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3004, allocations: 52.38 kB / 0.9861 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3006, allocations: 127.3 kB / 0.9862 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3008, allocations: 151.4 kB / 0.9864 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.3009, allocations: 4 kB / 0.9864 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.301, allocations: 47.98 kB / 0.9864 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3011, allocations: 83.72 kB / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.3013, allocations: 123.1 kB / 0.9866 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.3017, allocations: 347 kB / 0.9869 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3017, allocations: 4 kB / 0.9869 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3017, allocations: 0 / 0.9869 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.3017, allocations: 0 / 0.9869 GB, free: 5.52 MB / 0.7136 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.3028, allocations: 0.6225 MB / 0.9875 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3029, allocations: 8.031 kB / 0.9876 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.67e-05/0.303, allocations: 40.47 kB / 0.9876 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.3035, allocations: 370.4 kB / 0.9879 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3035, allocations: 8.375 kB / 0.988 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.3036, allocations: 11.94 kB / 0.988 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.3038, allocations: 111.7 kB / 0.9881 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3039, allocations: 0 / 0.9881 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3039, allocations: 11.94 kB / 0.9881 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3039, allocations: 4 kB / 0.9881 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3041, allocations: 59.91 kB / 0.9881 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.3049, allocations: 0.4887 MB / 0.9886 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.3053, allocations: 138.7 kB / 0.9888 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3054, allocations: 48.83 kB / 0.9888 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3055, allocations: 0 / 0.9888 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3057, allocations: 107.3 kB / 0.9889 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.976e-06/0.3057, allocations: 3.938 kB / 0.9889 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0005562/0.3063, allocations: 237.6 kB / 0.9891 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3063, allocations: 55.34 kB / 0.9892 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.3069, allocations: 0.5015 MB / 0.9897 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3069, allocations: 29.7 kB / 0.9897 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3071, allocations: 164.4 kB / 0.9899 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.3071, allocations: 39.55 kB / 0.9899 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3072, allocations: 65.97 kB / 0.99 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3074, allocations: 346.8 kB / 0.9903 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3076, allocations: 100.5 kB / 0.9904 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3078, allocations: 135.6 kB / 0.9905 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3081, allocations: 182.5 kB / 0.9907 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3081, allocations: 0 / 0.9907 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005362/0.3087, allocations: 325.1 kB / 0.991 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3087, allocations: 8 kB / 0.991 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3087, allocations: 0 / 0.991 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3087, allocations: 0 / 0.991 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.309, allocations: 59.84 kB / 0.9911 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.309, allocations: 4 kB / 0.9911 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.3091, allocations: 19.83 kB / 0.9911 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3092, allocations: 8 kB / 0.9911 GB, free: 1.023 MB / 0.7136 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.3094, allocations: 197.7 kB / 0.9913 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.3094, allocations: 27.62 kB / 0.9913 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3095, allocations: 39.12 kB / 0.9913 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3095, allocations: 3.938 kB / 0.9914 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3095, allocations: 0 / 0.9914 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3095, allocations: 3.984 kB / 0.9914 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.3098, allocations: 297.4 kB / 0.9916 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3098, allocations: 3.938 kB / 0.9916 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.3099, allocations: 19.92 kB / 0.9917 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3099, allocations: 4 kB / 0.9917 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3099, allocations: 15.92 kB / 0.9917 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.31, allocations: 3.938 kB / 0.9917 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.31, allocations: 0 / 0.9917 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.3108, allocations: 0.8654 MB / 0.9925 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3109, allocations: 116.7 kB / 0.9926 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3109, allocations: 4 kB / 0.9926 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.311, allocations: 4 kB / 0.9926 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.3111, allocations: 23.97 kB / 0.9927 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3111, allocations: 4 kB / 0.9927 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003238/0.3115, allocations: 315.1 kB / 0.993 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3115, allocations: 0 / 0.993 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000392/0.3119, allocations: 56 kB / 0.993 GB, free: 14.9 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008961/0.3128, allocations: 429.2 kB / 0.9934 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.3132, allocations: 191.8 kB / 0.9936 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3132, allocations: 7.938 kB / 0.9936 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3133, allocations: 59.97 kB / 0.9937 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3138, allocations: 86.41 kB / 0.9938 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.3147, allocations: 0.7339 MB / 0.9945 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.315, allocations: 0.7948 MB / 0.9953 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.3152, allocations: 54.94 kB / 0.9953 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.3153, allocations: 31.42 kB / 0.9953 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.3153, allocations: 0 / 0.9953 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.007516/0.3228, allocations: 3.979 MB / 0.9992 GB, free: 8.609 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)