Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01012/0.01012, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, allocations: 251.7 MB / 0.5094 GB, free: 2.965 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.91 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3158, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004371/0.3202, allocations: 2.016 MB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3223, allocations: 0.9792 MB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.3225, allocations: 4 kB / 0.831 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.3231, allocations: 151.4 kB / 0.8311 GB, free: 13 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.3237, allocations: 151.4 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.3242, allocations: 171.3 kB / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.3246, allocations: 303.2 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.3249, allocations: 48.31 kB / 0.8318 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.3251, allocations: 131.5 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.3253, allocations: 143.4 kB / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.3254, allocations: 12 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3255, allocations: 35.98 kB / 0.8321 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3256, allocations: 83.73 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3258, allocations: 127.2 kB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.3262, allocations: 338.5 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3262, allocations: 0 / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3262, allocations: 4 kB / 0.8326 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3262, allocations: 0 / 0.8326 GB, free: 11.49 MB / 0.6544 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.001044/0.3273, allocations: 0.6261 MB / 0.8332 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3273, allocations: 8.031 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.3274, allocations: 36.7 kB / 0.8333 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006071/0.328, allocations: 358.6 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3281, allocations: 8.375 kB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3281, allocations: 8.125 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.3285, allocations: 109.6 kB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3285, allocations: 0 / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3285, allocations: 0 / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3286, allocations: 8 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.3287, allocations: 59.89 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008897/0.3296, allocations: 484.5 kB / 0.8342 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.33, allocations: 138.6 kB / 0.8344 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3301, allocations: 52.83 kB / 0.8344 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3302, allocations: 4 kB / 0.8344 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.3305, allocations: 107.3 kB / 0.8345 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.3305, allocations: 0 / 0.8345 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005698/0.331, allocations: 229.3 kB / 0.8348 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3311, allocations: 59.34 kB / 0.8348 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.3317, allocations: 497.6 kB / 0.8353 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3317, allocations: 33.7 kB / 0.8353 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3319, allocations: 160.5 kB / 0.8355 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.3319, allocations: 39.69 kB / 0.8355 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.332, allocations: 69.95 kB / 0.8356 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3322, allocations: 346.8 kB / 0.8359 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.3324, allocations: 104.5 kB / 0.836 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3326, allocations: 123.6 kB / 0.8361 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.3329, allocations: 188.5 kB / 0.8363 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.333, allocations: 0 / 0.8363 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005296/0.3335, allocations: 321.3 kB / 0.8366 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3335, allocations: 4 kB / 0.8366 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3335, allocations: 0 / 0.8366 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3336, allocations: 4 kB / 0.8366 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.3338, allocations: 59.84 kB / 0.8367 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3339, allocations: 3.938 kB / 0.8367 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.334, allocations: 23.88 kB / 0.8367 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.3341, allocations: 11.98 kB / 0.8367 GB, free: 7.039 MB / 0.6544 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.0002046/0.3343, allocations: 181.8 kB / 0.8369 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.3343, allocations: 31.8 kB / 0.8369 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.3344, allocations: 42.95 kB / 0.837 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3344, allocations: 0 / 0.837 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.3345, allocations: 7.938 kB / 0.837 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3345, allocations: 0 / 0.837 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.3348, allocations: 301.4 kB / 0.8372 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3348, allocations: 0 / 0.8372 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.3349, allocations: 11.98 kB / 0.8373 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3349, allocations: 4 kB / 0.8373 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3349, allocations: 4 kB / 0.8373 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3349, allocations: 3.938 kB / 0.8373 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3349, allocations: 3.938 kB / 0.8373 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.3353, allocations: 206.1 kB / 0.8375 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.3354, allocations: 116.9 kB / 0.8376 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3355, allocations: 0 / 0.8376 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.3356, allocations: 8 kB / 0.8376 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.3357, allocations: 27.91 kB / 0.8376 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3357, allocations: 4 kB / 0.8376 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003404/0.336, allocations: 303.1 kB / 0.8379 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.336, allocations: 0 / 0.8379 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002895/0.3363, allocations: 55.92 kB / 0.838 GB, free: 5.66 MB / 0.6544 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.001219/0.3376, allocations: 423.7 kB / 0.8384 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.338, allocations: 195.8 kB / 0.8386 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3381, allocations: 0 / 0.8386 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3382, allocations: 67.53 kB / 0.8386 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.3387, allocations: 84.39 kB / 0.8387 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.3396, allocations: 0.5156 MB / 0.8392 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3401, allocations: 0.7909 MB / 0.84 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.3402, allocations: 54.94 kB / 0.84 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.3403, allocations: 31.42 kB / 0.8401 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.3403, allocations: 0 / 0.8401 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of Templates: time 0.008268/0.3486, allocations: 3.876 MB / 0.8438 GB, free: 15.78 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)