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.001063/0.001063, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.369/1.369, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.59/1.59, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001502/0.001502, allocations: 73.64 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003262/0.2395, allocations: 2.052 MB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2411, allocations: 1.085 MB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2412, allocations: 7.938 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.2417, allocations: 155.5 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.242, allocations: 131.6 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.2425, allocations: 190.8 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.2428, allocations: 303.2 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.243, allocations: 48.66 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.2432, allocations: 147.4 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2434, allocations: 155.4 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.2434, allocations: 16 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.2436, allocations: 51.97 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2437, allocations: 95.66 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2438, allocations: 123.2 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.2442, allocations: 362.7 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2442, allocations: 0 / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2442, allocations: 0 / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2442, allocations: 0 / 0.7878 GB, free: 8.898 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.0009096/0.2451, allocations: 0.6262 MB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2452, allocations: 8.031 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.2452, allocations: 38.75 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/0.2453, allocations: 36.47 kB / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.2458, allocations: 378.4 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2458, allocations: 12.06 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.2458, allocations: 12 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.2461, allocations: 109.5 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2461, allocations: 0 / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2461, allocations: 4 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2461, allocations: 4 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.2463, allocations: 59.95 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.2471, allocations: 0.4886 MB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.2474, allocations: 138.7 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2475, allocations: 44.84 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2476, allocations: 3.984 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.2478, allocations: 115.3 kB / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.2478, allocations: 0 / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005115/0.2483, allocations: 221.2 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2484, allocations: 59.34 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.2489, allocations: 0.5055 MB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.249, allocations: 29.7 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2491, allocations: 172.3 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.2491, allocations: 31.61 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2493, allocations: 65.97 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2494, allocations: 346.8 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2496, allocations: 104.5 kB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.2498, allocations: 131.6 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.2501, allocations: 191.5 kB / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2502, allocations: 0 / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000534/0.2507, allocations: 329.1 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2507, allocations: 4 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2507, allocations: 0 / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2508, allocations: 7.938 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.251, allocations: 47.91 kB / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.251, allocations: 8 kB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.2511, allocations: 19.83 kB / 0.7919 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2512, allocations: 12 kB / 0.792 GB, free: 4.336 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.0001692/0.2514, allocations: 189.8 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.2514, allocations: 31.62 kB / 0.7922 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.2515, allocations: 35.12 kB / 0.7922 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2515, allocations: 3.938 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2515, allocations: 4 kB / 0.7922 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2515, allocations: 0 / 0.7922 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.2518, allocations: 301.4 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2518, allocations: 0 / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.2519, allocations: 12 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2519, allocations: 0 / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2519, allocations: 11.98 kB / 0.7925 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2519, allocations: 7.938 kB / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2519, allocations: 0 / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.2523, allocations: 213.7 kB / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.2524, allocations: 108.7 kB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2524, allocations: 4 kB / 0.7928 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/0.2525, allocations: 11.92 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.2526, allocations: 23.98 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2526, allocations: 7.984 kB / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002998/0.2529, allocations: 311.1 kB / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.523e-06/0.2529, allocations: 0 / 0.7932 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002883/0.2532, allocations: 63.92 kB / 0.7932 GB, free: 2.93 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.001528/0.2547, allocations: 1.073 MB / 0.7943 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.2552, allocations: 193.6 kB / 0.7945 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2552, allocations: 0 / 0.7945 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2553, allocations: 63.91 kB / 0.7945 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.2558, allocations: 95.77 kB / 0.7946 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.2596, allocations: 3.184 MB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.2599, allocations: 0.7947 MB / 0.7985 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.2601, allocations: 50.95 kB / 0.7986 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2602, allocations: 107.4 kB / 0.7987 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2602, allocations: 0 / 0.7987 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.2774, allocations: 6.908 MB / 0.8054 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.2776, allocations: 245 kB / 0.8056 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.147, allocations: 0 / 0.8056 GB, free: 6.398 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)