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.001187/0.001187, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.826/1.826, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00141/0.00141, allocations: 70.86 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2946, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004331/0.2989, allocations: 1.997 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3011, allocations: 1.098 MB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3013, allocations: 7.938 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.3018, allocations: 171.4 kB / 0.7873 GB, free: 9.426 MB / 0.6075 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.0003821/0.3022, allocations: 155.3 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.3027, allocations: 186.6 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.3032, allocations: 323.1 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3034, allocations: 40.39 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.3036, allocations: 139.5 kB / 0.7881 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.3039, allocations: 147.4 kB / 0.7883 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.304, allocations: 19.94 kB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3041, allocations: 59.95 kB / 0.7883 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3042, allocations: 83.75 kB / 0.7884 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3043, allocations: 123.1 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.3048, allocations: 366.7 kB / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3048, allocations: 0 / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3048, allocations: 3.938 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3048, allocations: 0 / 0.7889 GB, free: 7.812 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.001072/0.3059, allocations: 0.6185 MB / 0.7895 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3059, allocations: 8.031 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.306, allocations: 36.47 kB / 0.7895 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.3066, allocations: 382.4 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3067, allocations: 8.375 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3067, allocations: 7.938 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.307, allocations: 116.5 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.307, allocations: 0 / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.307, allocations: 0 / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.307, allocations: 4 kB / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.3072, allocations: 63.86 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.3081, allocations: 0.4886 MB / 0.7906 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.3084, allocations: 130.8 kB / 0.7907 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3085, allocations: 52.83 kB / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3086, allocations: 4 kB / 0.7908 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.3088, allocations: 115.3 kB / 0.7909 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.3088, allocations: 0 / 0.7909 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005694/0.3094, allocations: 220.6 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.3095, allocations: 55.34 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.3101, allocations: 0.5054 MB / 0.7916 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3101, allocations: 29.7 kB / 0.7916 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3103, allocations: 176.3 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3103, allocations: 35.53 kB / 0.7919 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3104, allocations: 69.97 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002979/0.3107, allocations: 354.7 kB / 0.7923 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3109, allocations: 104.5 kB / 0.7924 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.3112, allocations: 127.6 kB / 0.7925 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3115, allocations: 182.5 kB / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3115, allocations: 0 / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005421/0.3121, allocations: 329.1 kB / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3121, allocations: 4 kB / 0.793 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3121, allocations: 3.938 kB / 0.793 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3121, allocations: 4 kB / 0.793 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.3124, allocations: 55.91 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3124, allocations: 0 / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.3125, allocations: 19.92 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3126, allocations: 15.94 kB / 0.7931 GB, free: 3.305 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.0001865/0.3128, allocations: 182.5 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3128, allocations: 35.53 kB / 0.7933 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.3129, allocations: 31.12 kB / 0.7933 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3129, allocations: 11.92 kB / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3129, allocations: 0 / 0.7933 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3129, allocations: 3.938 kB / 0.7933 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.3133, allocations: 293.4 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3133, allocations: 7.984 kB / 0.7936 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.3134, allocations: 12 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3134, allocations: 0 / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3134, allocations: 11.98 kB / 0.7936 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3134, allocations: 3.938 kB / 0.7936 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3134, allocations: 0 / 0.7936 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3138, allocations: 204.6 kB / 0.7938 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.314, allocations: 124.6 kB / 0.7939 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.314, allocations: 0 / 0.7939 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.3141, allocations: 15.92 kB / 0.794 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.3142, allocations: 23.92 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3142, allocations: 4 kB / 0.794 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003335/0.3146, allocations: 315.1 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3146, allocations: 0 / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002964/0.3149, allocations: 63.98 kB / 0.7943 GB, free: 1.891 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.001028/0.3159, allocations: 415 kB / 0.7947 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.3164, allocations: 196.1 kB / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3165, allocations: 0 / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3166, allocations: 66.53 kB / 0.795 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.3171, allocations: 81.8 kB / 0.7951 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.318, allocations: 0.5199 MB / 0.7956 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.3186, allocations: 0.7911 MB / 0.7964 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.3187, allocations: 62.88 kB / 0.7964 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.3188, allocations: 39.3 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.3188, allocations: 0 / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.008778/0.3276, allocations: 4.049 MB / 0.8004 GB, free: 11.84 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)