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.001414/0.001414, allocations: 106.9 kB / 16.37 MB, free: 6.262 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.001417/0.001417, allocations: 192.8 kB / 17.3 MB, free: 5.848 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.628/1.628, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.952/1.952, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001866/0.001866, allocations: 76.45 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2975, allocations: 114.5 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004481/0.302, allocations: 1.986 MB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3045, allocations: 1.113 MB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.3047, allocations: 3.938 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.5802/0.885, allocations: 154.8 kB / 0.788 GB, free: 46.61 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.0008697/0.886, allocations: 160.4 kB / 0.7881 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.887, allocations: 183.3 kB / 0.7883 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.8876, allocations: 310.4 kB / 0.7886 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.8878, allocations: 53.8 kB / 0.7887 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.8882, allocations: 139.5 kB / 0.7888 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.8886, allocations: 150.2 kB / 0.7889 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.8887, allocations: 16.75 kB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.889, allocations: 58.39 kB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.8892, allocations: 91.48 kB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.8894, allocations: 120.8 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006824/0.8901, allocations: 370.4 kB / 0.7896 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.8901, allocations: 3.438 kB / 0.7896 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8902, allocations: 0 / 0.7896 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.8902, allocations: 0 / 0.7896 GB, free: 46.45 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.001515/0.8917, allocations: 0.6138 MB / 0.7902 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.8918, allocations: 13.06 kB / 0.7902 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.8919, allocations: 39.75 kB / 0.7902 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.8927, allocations: 368 kB / 0.7906 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.8927, allocations: 5.312 kB / 0.7906 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.8928, allocations: 10.53 kB / 0.7906 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.8932, allocations: 118.6 kB / 0.7907 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8932, allocations: 0 / 0.7907 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.8932, allocations: 0 / 0.7907 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.8932, allocations: 2.625 kB / 0.7907 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.8935, allocations: 62.3 kB / 0.7908 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.8947, allocations: 498.7 kB / 0.7912 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.8953, allocations: 135.2 kB / 0.7914 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.8955, allocations: 50.52 kB / 0.7914 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.8956, allocations: 2.812 kB / 0.7914 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.896, allocations: 120.1 kB / 0.7915 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.896e-06/0.896, allocations: 0 / 0.7915 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0008832/0.8969, allocations: 224 kB / 0.7917 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.8969, allocations: 55.34 kB / 0.7918 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/0.8978, allocations: 0.5095 MB / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.8979, allocations: 32.64 kB / 0.7923 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.898, allocations: 166.3 kB / 0.7925 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.8981, allocations: 39.31 kB / 0.7925 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.8983, allocations: 71.34 kB / 0.7926 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8985, allocations: 344 kB / 0.7929 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.8988, allocations: 102.6 kB / 0.793 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.8991, allocations: 130.8 kB / 0.7931 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.8997, allocations: 176.9 kB / 0.7933 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.8997, allocations: 0.9375 kB / 0.7933 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008394/0.9005, allocations: 330.7 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.9006, allocations: 7.625 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9006, allocations: 0 / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.9007, allocations: 1 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.9011, allocations: 54.81 kB / 0.7937 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.9011, allocations: 3.656 kB / 0.7937 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.9014, allocations: 21.44 kB / 0.7937 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.9015, allocations: 16.3 kB / 0.7937 GB, free: 44.49 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.0002677/0.9017, allocations: 183.1 kB / 0.7939 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.9018, allocations: 33.88 kB / 0.7939 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.9019, allocations: 34.81 kB / 0.794 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.902, allocations: 0.75 kB / 0.794 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.902, allocations: 3 kB / 0.794 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.9021, allocations: 117.7 kB / 0.7941 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.9022, allocations: 11.31 kB / 0.7941 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.9023, allocations: 12.08 kB / 0.7941 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.9025, allocations: 20 kB / 0.7941 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005878/0.9031, allocations: 238.8 kB / 0.7943 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006282/0.9037, allocations: 362 kB / 0.7947 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002248/0.904, allocations: 59.38 kB / 0.7947 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005436/0.9045, allocations: 314.6 kB / 0.795 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of Backend: time 9.72e-07/0.9045, allocations: 0 / 0.795 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.9075, allocations: 0.5609 MB / 0.7956 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002396/0.9099, allocations: 1.003 MB / 0.7966 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.01963/0.9296, allocations: 4.098 MB / 0.8006 GB, free: 42.82 MB / 0.6544 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)