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.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001332/0.001332, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.572/1.572, allocations: 205.1 MB / 222 MB, free: 4.77 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.805/1.805, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001508/0.001508, allocations: 68.17 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2996, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004335/0.304, allocations: 2.048 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3061, allocations: 1.105 MB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3063, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.3068, allocations: 151.6 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3072, allocations: 139.5 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.3077, allocations: 174.9 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.3082, allocations: 287.2 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.3084, allocations: 44.38 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3086, allocations: 127.4 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3088, allocations: 151.4 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.3088, allocations: 4 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.309, allocations: 47.97 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3091, allocations: 83.67 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3093, allocations: 127.1 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.3098, allocations: 355.1 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.3098, allocations: 0 / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3098, allocations: 7.875 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3098, allocations: 0 / 0.7874 GB, free: 9.172 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.001111/0.3109, allocations: 0.6147 MB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.311, allocations: 8.031 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.3111, allocations: 36.47 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.3116, allocations: 378.4 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3116, allocations: 8.375 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.3117, allocations: 11.94 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3119, allocations: 106.5 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.312, allocations: 0 / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.312, allocations: 4 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.312, allocations: 4 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3122, allocations: 63.86 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.313, allocations: 496.4 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3133, allocations: 142.6 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3134, allocations: 48.84 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3135, allocations: 3.984 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.3137, allocations: 111.3 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3137, allocations: 0 / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005419/0.3143, allocations: 221.4 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3143, allocations: 59.28 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.3149, allocations: 0.5093 MB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.315, allocations: 33.7 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3151, allocations: 164.3 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3152, allocations: 39.55 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.3153, allocations: 65.97 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3154, allocations: 346.8 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.3156, allocations: 96.52 kB / 0.7908 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3158, allocations: 135.6 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.3161, allocations: 187.5 kB / 0.7911 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3161, allocations: 3.984 kB / 0.7911 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005675/0.3167, allocations: 317.1 kB / 0.7914 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3167, allocations: 12.06 kB / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3168, allocations: 0 / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3168, allocations: 0 / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.317, allocations: 59.84 kB / 0.7915 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.317, allocations: 4 kB / 0.7915 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3172, allocations: 15.92 kB / 0.7915 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3172, allocations: 8 kB / 0.7915 GB, free: 4.68 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.0001823/0.3174, allocations: 186.4 kB / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.3174, allocations: 35.52 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.3175, allocations: 43.12 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3175, allocations: 3.938 kB / 0.7918 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.3175, allocations: 4 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3176, allocations: 0 / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.3178, allocations: 301.4 kB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3179, allocations: 0 / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.3179, allocations: 12 kB / 0.7921 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3179, allocations: 0 / 0.7921 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.318, allocations: 11.98 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.318, allocations: 3.938 kB / 0.7921 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.318, allocations: 4 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.3184, allocations: 219.3 kB / 0.7923 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.3185, allocations: 112.7 kB / 0.7924 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.3185, allocations: 4 kB / 0.7924 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.3186, allocations: 11.92 kB / 0.7924 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.3187, allocations: 19.92 kB / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.3187, allocations: 11.98 kB / 0.7925 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003173/0.3191, allocations: 319.1 kB / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3191, allocations: 0 / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002693/0.3193, allocations: 48 kB / 0.7928 GB, free: 3.266 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.0009804/0.3203, allocations: 421.6 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.3207, allocations: 195.8 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3207, allocations: 128 / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3209, allocations: 63.97 kB / 0.7935 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.3214, allocations: 92.22 kB / 0.7936 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.3223, allocations: 0.5905 MB / 0.7941 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3227, allocations: 0.7947 MB / 0.7949 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.3229, allocations: 46.95 kB / 0.795 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.323, allocations: 31.42 kB / 0.795 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.323, allocations: 4 kB / 0.795 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.008058/0.3311, allocations: 3.876 MB / 0.7988 GB, free: 13.31 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)