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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005324/0.005324, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.642/1.642, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004789/0.000479, allocations: 21.2 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1991, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002113/0.2012, allocations: 1.706 MB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2028, allocations: 1.066 MB / 0.7907 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.2029, allocations: 3.938 kB / 0.7907 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.2032, allocations: 155.5 kB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2035, allocations: 139.5 kB / 0.791 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2039, allocations: 175.1 kB / 0.7912 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.2042, allocations: 287.2 kB / 0.7914 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2043, allocations: 52.64 kB / 0.7915 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.2045, allocations: 131.3 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.2047, allocations: 139.4 kB / 0.7918 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2047, allocations: 8 kB / 0.7918 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2048, allocations: 39.92 kB / 0.7918 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.2049, allocations: 83.72 kB / 0.7919 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.205, allocations: 136.9 kB / 0.792 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.2053, allocations: 354.7 kB / 0.7923 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2054, allocations: 0 / 0.7923 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2054, allocations: 0 / 0.7923 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.2054, allocations: 0 / 0.7923 GB, free: 6.969 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.0007353/0.2061, allocations: 0.5681 MB / 0.7929 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2062, allocations: 12.03 kB / 0.7929 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2062, allocations: 38.73 kB / 0.7929 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.2063, allocations: 40.47 kB / 0.793 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.2067, allocations: 378.4 kB / 0.7933 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2067, allocations: 12.03 kB / 0.7934 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2067, allocations: 12 kB / 0.7934 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.207, allocations: 97.62 kB / 0.7935 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.207, allocations: 0 / 0.7935 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.207, allocations: 11.98 kB / 0.7935 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.207, allocations: 0 / 0.7935 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2072, allocations: 59.91 kB / 0.7935 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.2078, allocations: 496.4 kB / 0.794 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.2082, allocations: 142.7 kB / 0.7941 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2083, allocations: 44.83 kB / 0.7942 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2083, allocations: 4 kB / 0.7942 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.2085, allocations: 123.1 kB / 0.7943 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2085, allocations: 0 / 0.7943 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004914/0.209, allocations: 221.1 kB / 0.7945 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.2091, allocations: 59.41 kB / 0.7946 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.2096, allocations: 0.5054 MB / 0.7951 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.2096, allocations: 33.7 kB / 0.7951 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2097, allocations: 164.4 kB / 0.7953 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2097, allocations: 31.61 kB / 0.7953 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.2098, allocations: 37.7 kB / 0.7953 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2099, allocations: 346.8 kB / 0.7957 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2101, allocations: 104.5 kB / 0.7958 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2103, allocations: 131.6 kB / 0.7959 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.2106, allocations: 183.5 kB / 0.7961 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2106, allocations: 3.938 kB / 0.7961 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004832/0.2111, allocations: 329.2 kB / 0.7964 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2111, allocations: 4 kB / 0.7964 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2111, allocations: 0 / 0.7964 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2111, allocations: 7.938 kB / 0.7964 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.2113, allocations: 51.91 kB / 0.7964 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2114, allocations: 0 / 0.7964 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2115, allocations: 19.84 kB / 0.7965 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2115, allocations: 15.98 kB / 0.7965 GB, free: 2.496 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.0001588/0.2117, allocations: 189.8 kB / 0.7966 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.2117, allocations: 35.53 kB / 0.7967 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.2118, allocations: 35.12 kB / 0.7967 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2118, allocations: 3.938 kB / 0.7967 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2118, allocations: 0 / 0.7967 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2118, allocations: 0 / 0.7967 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2121, allocations: 301.4 kB / 0.797 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2121, allocations: 0 / 0.797 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.2121, allocations: 19.98 kB / 0.797 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2122, allocations: 0 / 0.797 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2122, allocations: 8 kB / 0.797 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.2122, allocations: 11.88 kB / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2122, allocations: 0 / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.2125, allocations: 204.7 kB / 0.7972 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.2126, allocations: 116.6 kB / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.2126, allocations: 8 kB / 0.7974 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.2128, allocations: 11.92 kB / 0.7974 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.2128, allocations: 19.98 kB / 0.7974 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2128, allocations: 7.984 kB / 0.7974 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002954/0.2131, allocations: 311.1 kB / 0.7977 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.342e-06/0.2132, allocations: 0 / 0.7977 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002695/0.2134, allocations: 63.92 kB / 0.7978 GB, free: 1.082 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.001362/0.2148, allocations: 1.063 MB / 0.7988 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.2152, allocations: 191.9 kB / 0.799 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2152, allocations: 0 / 0.799 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2153, allocations: 67.84 kB / 0.799 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2158, allocations: 78.62 kB / 0.7991 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.2193, allocations: 3.182 MB / 0.8022 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.2197, allocations: 0.7947 MB / 0.803 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2198, allocations: 54.92 kB / 0.803 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.22, allocations: 103.4 kB / 0.8031 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.22, allocations: 0 / 0.8031 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.2367, allocations: 6.528 MB / 0.8095 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.2369, allocations: 245.2 kB / 0.8098 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.961, allocations: 0 / 0.8098 GB, free: 4.957 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)