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.001347/0.001347, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001732/0.001732, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.739/1.739, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.814/1.814, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001882/0.001882, allocations: 62.31 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3352, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003872/0.3391, allocations: 2.052 MB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.341, allocations: 1.093 MB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.3411, allocations: 7.938 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.3416, allocations: 147.5 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.342, allocations: 143.5 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.3425, allocations: 180.9 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.3429, allocations: 307.2 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.343, allocations: 48.36 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3433, allocations: 143.4 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3435, allocations: 159.4 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.3435, allocations: 16 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3437, allocations: 59.97 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3438, allocations: 91.66 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3439, allocations: 123.2 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.3443, allocations: 363 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3444, allocations: 0 / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3444, allocations: 0 / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3444, allocations: 0 / 0.7876 GB, free: 8.957 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.00113/0.3455, allocations: 0.6224 MB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3456, allocations: 8.031 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.3457, allocations: 36.47 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.3462, allocations: 374.4 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3462, allocations: 12.36 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3462, allocations: 11.94 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3465, allocations: 101.6 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3465, allocations: 0 / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3465, allocations: 4 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3465, allocations: 4 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3467, allocations: 67.86 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.3475, allocations: 496.4 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.3479, allocations: 138.7 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.348, allocations: 56.77 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.348, allocations: 4 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.3483, allocations: 106.2 kB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3483, allocations: 4 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005356/0.3488, allocations: 217.4 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3489, allocations: 63.28 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.3494, allocations: 0.5092 MB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3495, allocations: 29.7 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3497, allocations: 168.3 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.3497, allocations: 35.55 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3498, allocations: 77.95 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.35, allocations: 342.8 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3502, allocations: 104.5 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.3504, allocations: 131.6 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.3507, allocations: 187.4 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3507, allocations: 0 / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005251/0.3513, allocations: 325.1 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3513, allocations: 7.984 kB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3513, allocations: 0 / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3513, allocations: 4 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.3516, allocations: 55.84 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.3516, allocations: 0 / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3518, allocations: 20 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.3518, allocations: 19.98 kB / 0.7918 GB, free: 4.438 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.0001765/0.352, allocations: 181.7 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.352, allocations: 35.53 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3522, allocations: 35.11 kB / 0.7921 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3522, allocations: 7.938 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3522, allocations: 0 / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3522, allocations: 0 / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.3525, allocations: 301.4 kB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3525, allocations: 4 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.3526, allocations: 11.98 kB / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3526, allocations: 0 / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3526, allocations: 4 kB / 0.7924 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3526, allocations: 3.938 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3526, allocations: 0 / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.353, allocations: 212.5 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.3531, allocations: 112.7 kB / 0.7927 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.3532, allocations: 7.984 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.3533, allocations: 11.94 kB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.3534, allocations: 19.97 kB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3534, allocations: 4 kB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003104/0.3537, allocations: 315.1 kB / 0.793 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3537, allocations: 4 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003064/0.354, allocations: 52 kB / 0.7931 GB, free: 3.047 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.0009966/0.355, allocations: 440.1 kB / 0.7935 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.3555, allocations: 195.8 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3555, allocations: 0 / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3556, allocations: 59.97 kB / 0.7937 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3561, allocations: 90.11 kB / 0.7938 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008995/0.357, allocations: 0.5942 MB / 0.7944 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3574, allocations: 0.7908 MB / 0.7952 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.3575, allocations: 54.95 kB / 0.7952 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.3576, allocations: 35.42 kB / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3576, allocations: 0 / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of Templates: time 0.008445/0.3661, allocations: 4.006 MB / 0.7992 GB, free: 12.95 MB / 0.6231 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)