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.001539/0.001539, allocations: 104.8 kB / 16.29 MB, free: 6.125 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.001606/0.001606, allocations: 181 kB / 17.22 MB, free: 5.734 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.682/1.682, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.939/1.939, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.002157/0.002157, allocations: 71.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2908, allocations: 114.6 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003728/0.2946, allocations: 1.982 MB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2966, allocations: 1.113 MB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2968, allocations: 4 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.2973, allocations: 163.4 kB / 0.7873 GB, free: 0.6055 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.0003513/0.2976, allocations: 155.4 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.2981, allocations: 190.9 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5175/0.8156, allocations: 308.8 kB / 0.7879 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.8159, allocations: 49.42 kB / 0.7879 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.8163, allocations: 147 kB / 0.7881 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.8165, allocations: 146.8 kB / 0.7882 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.8165, allocations: 16 kB / 0.7882 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.8168, allocations: 57.77 kB / 0.7883 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.8169, allocations: 85.5 kB / 0.7884 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.817, allocations: 121.3 kB / 0.7885 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.8174, allocations: 373.6 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8174, allocations: 0 / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8175, allocations: 0 / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.8175, allocations: 2.719 kB / 0.7888 GB, free: 45.95 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.0009589/0.8184, allocations: 0.6214 MB / 0.7895 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.8185, allocations: 10.5 kB / 0.7895 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.8186, allocations: 36.83 kB / 0.7895 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.819, allocations: 370.2 kB / 0.7899 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.8191, allocations: 10.66 kB / 0.7899 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.8191, allocations: 5.688 kB / 0.7899 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.8193, allocations: 111.9 kB / 0.79 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8194, allocations: 1 kB / 0.79 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.8194, allocations: 6.172 kB / 0.79 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8194, allocations: 2.688 kB / 0.79 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.8196, allocations: 60.78 kB / 0.79 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.8203, allocations: 495.7 kB / 0.7905 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.8206, allocations: 135.6 kB / 0.7906 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.8208, allocations: 53.86 kB / 0.7907 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.8208, allocations: 6.062 kB / 0.7907 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.821, allocations: 109.4 kB / 0.7908 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.821, allocations: 3.938 kB / 0.7908 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005126/0.8215, allocations: 220.9 kB / 0.791 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.8216, allocations: 55.56 kB / 0.7911 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.8221, allocations: 0.5106 MB / 0.7916 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.8221, allocations: 31.36 kB / 0.7916 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.8223, allocations: 168.1 kB / 0.7918 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.8223, allocations: 34.52 kB / 0.7918 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.8224, allocations: 72.11 kB / 0.7919 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.8225, allocations: 345.7 kB / 0.7922 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.8227, allocations: 104 kB / 0.7923 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.8229, allocations: 133.1 kB / 0.7924 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.8232, allocations: 182.3 kB / 0.7926 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8232, allocations: 0 / 0.7926 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004954/0.8237, allocations: 325 kB / 0.7929 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.8237, allocations: 7.688 kB / 0.7929 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8237, allocations: 0.625 kB / 0.7929 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.8238, allocations: 5.406 kB / 0.7929 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.824, allocations: 51.28 kB / 0.793 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.824, allocations: 7.438 kB / 0.793 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.8241, allocations: 18.11 kB / 0.793 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.8242, allocations: 14.22 kB / 0.793 GB, free: 44 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.0001541/0.8243, allocations: 186.7 kB / 0.7932 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.8244, allocations: 30.69 kB / 0.7932 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.8245, allocations: 34.11 kB / 0.7932 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8245, allocations: 2.391 kB / 0.7932 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8245, allocations: 4.562 kB / 0.7932 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.8245, allocations: 2.719 kB / 0.7933 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.8247, allocations: 298.8 kB / 0.7935 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8248, allocations: 7.406 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.8248, allocations: 15.89 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8248, allocations: 0 / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.8249, allocations: 8.891 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8249, allocations: 0 / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8249, allocations: 4.938 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.8252, allocations: 216.1 kB / 0.7938 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.8253, allocations: 113.6 kB / 0.7939 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.8254, allocations: 3.703 kB / 0.7939 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.8254, allocations: 7.938 kB / 0.7939 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.8255, allocations: 22.91 kB / 0.7939 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.8256, allocations: 13.11 kB / 0.7939 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003223/0.8259, allocations: 311 kB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8259, allocations: 0 / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003183/0.8262, allocations: 54.56 kB / 0.7943 GB, free: 43.37 MB / 0.6544 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.001032/0.8273, allocations: 423.7 kB / 0.7947 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.8278, allocations: 194.3 kB / 0.7949 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8278, allocations: 3.938 kB / 0.7949 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.828, allocations: 63 kB / 0.7949 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.8286, allocations: 86.25 kB / 0.795 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.8296, allocations: 0.5243 MB / 0.7955 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.83, allocations: 0.7813 MB / 0.7963 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.8301, allocations: 55.48 kB / 0.7963 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.8303, allocations: 34.41 kB / 0.7964 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.8303, allocations: 0 / 0.7964 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.01266/0.8429, allocations: 4.063 MB / 0.8003 GB, free: 42.1 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)