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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009671, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008701/0.008702, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.855/1.855, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.902/1.902, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.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.0006741/0.0006741, allocations: 19.97 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3353, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002694/0.338, allocations: 1.702 MB / 0.7895 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3401, allocations: 1.074 MB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3403, allocations: 4 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.3408, allocations: 151.6 kB / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3411, allocations: 143.5 kB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.3416, allocations: 186.4 kB / 0.7911 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.3419, allocations: 283.2 kB / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3421, allocations: 48.38 kB / 0.7914 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3423, allocations: 131.4 kB / 0.7915 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.3425, allocations: 139.4 kB / 0.7916 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.3425, allocations: 4 kB / 0.7916 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3427, allocations: 47.97 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.3428, allocations: 79.72 kB / 0.7918 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3429, allocations: 136.9 kB / 0.7919 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.3433, allocations: 347 kB / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3433, allocations: 0 / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3433, allocations: 4 kB / 0.7922 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3434, allocations: 0 / 0.7922 GB, free: 7.055 MB / 0.6075 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.0009549/0.3443, allocations: 0.5759 MB / 0.7928 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3444, allocations: 8.031 kB / 0.7928 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.3444, allocations: 36.47 kB / 0.7928 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.3449, allocations: 370.5 kB / 0.7932 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.345, allocations: 4.375 kB / 0.7932 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.345, allocations: 23.88 kB / 0.7932 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.3453, allocations: 109.5 kB / 0.7933 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3453, allocations: 0 / 0.7933 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.3453, allocations: 4 kB / 0.7933 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3453, allocations: 4 kB / 0.7933 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3455, allocations: 59.95 kB / 0.7934 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.3464, allocations: 496.4 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.3467, allocations: 134.6 kB / 0.794 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3469, allocations: 48.83 kB / 0.794 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3469, allocations: 8 kB / 0.794 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3472, allocations: 119.2 kB / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.3472, allocations: 0 / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000529/0.3477, allocations: 224.2 kB / 0.7944 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3478, allocations: 55.34 kB / 0.7944 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.3483, allocations: 0.5093 MB / 0.7949 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3484, allocations: 29.7 kB / 0.7949 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3485, allocations: 168.4 kB / 0.7951 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3485, allocations: 35.55 kB / 0.7951 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3486, allocations: 37.7 kB / 0.7952 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3488, allocations: 346.8 kB / 0.7955 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.349, allocations: 100.5 kB / 0.7956 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.3492, allocations: 135.6 kB / 0.7957 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.3495, allocations: 183.5 kB / 0.7959 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3495, allocations: 0 / 0.7959 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005282/0.3501, allocations: 325.2 kB / 0.7962 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3501, allocations: 4 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3501, allocations: 64 / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3501, allocations: 8 kB / 0.7962 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3504, allocations: 55.84 kB / 0.7963 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3504, allocations: 0 / 0.7963 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3505, allocations: 23.83 kB / 0.7963 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.3506, allocations: 12 kB / 0.7963 GB, free: 2.625 MB / 0.6075 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.0001856/0.3508, allocations: 186.4 kB / 0.7965 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3508, allocations: 35.53 kB / 0.7965 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.3509, allocations: 35.12 kB / 0.7966 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3509, allocations: 7.938 kB / 0.7966 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3509, allocations: 3.984 kB / 0.7966 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3509, allocations: 0 / 0.7966 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.3512, allocations: 297.4 kB / 0.7968 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3512, allocations: 0 / 0.7968 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.3513, allocations: 19.92 kB / 0.7969 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3513, allocations: 4 kB / 0.7969 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.3514, allocations: 3.984 kB / 0.7969 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3514, allocations: 3.938 kB / 0.7969 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3514, allocations: 0 / 0.7969 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.3518, allocations: 208.7 kB / 0.7971 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.352, allocations: 116.6 kB / 0.7972 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.352, allocations: 8 kB / 0.7972 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3522, allocations: 15.86 kB / 0.7972 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.3522, allocations: 19.97 kB / 0.7972 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3523, allocations: 4 kB / 0.7972 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003387/0.3526, allocations: 319.1 kB / 0.7975 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3526, allocations: 0 / 0.7975 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003072/0.3529, allocations: 55.94 kB / 0.7976 GB, free: 1.215 MB / 0.6075 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.001047/0.354, allocations: 423 kB / 0.798 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004248/0.3544, allocations: 191.8 kB / 0.7982 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3544, allocations: 0 / 0.7982 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3546, allocations: 70.66 kB / 0.7982 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.3551, allocations: 91.77 kB / 0.7983 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.3561, allocations: 0.5964 MB / 0.7989 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3565, allocations: 0.787 MB / 0.7997 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.3567, allocations: 50.94 kB / 0.7997 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.3567, allocations: 35.36 kB / 0.7998 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3567, allocations: 0 / 0.7998 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.008386/0.3651, allocations: 3.826 MB / 0.8035 GB, free: 11.3 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: