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.001346/0.001347, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001936, allocations: 186.4 kB / 16.62 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.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.731/1.731, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001459/0.001459, allocations: 74.94 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2237, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003279/0.2271, allocations: 1.997 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2288, allocations: 1.094 MB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.229, allocations: 7.938 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.2295, allocations: 163.4 kB / 0.7868 GB, free: 9.953 MB / 0.6075 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.0003363/0.2298, allocations: 159.4 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.2303, allocations: 186.4 kB / 0.7872 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.2306, allocations: 315.1 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.2308, allocations: 56.62 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.231, allocations: 139.5 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.2312, allocations: 147.4 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.2312, allocations: 19.94 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.2313, allocations: 47.98 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2315, allocations: 87.72 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2316, allocations: 131.1 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.232, allocations: 366.7 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.232, allocations: 3.938 kB / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.232, allocations: 0 / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.232, allocations: 0 / 0.7884 GB, free: 8.328 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.0009117/0.2329, allocations: 0.6224 MB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.233, allocations: 8.031 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.233, allocations: 42.69 kB / 0.7891 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.2331, allocations: 40.47 kB / 0.7891 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.2336, allocations: 366.5 kB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2336, allocations: 12.12 kB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.2336, allocations: 7.984 kB / 0.7895 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.2339, allocations: 120.1 kB / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2339, allocations: 0 / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2339, allocations: 0 / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2339, allocations: 4 kB / 0.7896 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2341, allocations: 59.95 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.2348, allocations: 496.4 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.2352, allocations: 138.8 kB / 0.7903 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2353, allocations: 44.83 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2353, allocations: 8 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.2356, allocations: 111.3 kB / 0.7904 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2356, allocations: 0 / 0.7904 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000527/0.2361, allocations: 228.2 kB / 0.7906 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2361, allocations: 55.41 kB / 0.7907 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.2367, allocations: 0.5016 MB / 0.7912 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2367, allocations: 33.7 kB / 0.7912 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2368, allocations: 172.2 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2369, allocations: 35.59 kB / 0.7914 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.237, allocations: 69.95 kB / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2371, allocations: 346.8 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2373, allocations: 108.4 kB / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2375, allocations: 131.6 kB / 0.792 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2379, allocations: 186.5 kB / 0.7922 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2379, allocations: 4 kB / 0.7922 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005281/0.2384, allocations: 317.1 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2384, allocations: 4 kB / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2384, allocations: 4 kB / 0.7925 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2385, allocations: 7.922 kB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.2387, allocations: 47.92 kB / 0.7926 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/0.2387, allocations: 7.984 kB / 0.7926 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2389, allocations: 19.91 kB / 0.7926 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.2389, allocations: 12 kB / 0.7926 GB, free: 3.777 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.0001694/0.2391, allocations: 189.7 kB / 0.7928 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.2391, allocations: 31.62 kB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.2392, allocations: 31.12 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2392, allocations: 7.938 kB / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2392, allocations: 0 / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2392, allocations: 0 / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2395, allocations: 305.4 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2395, allocations: 7.938 kB / 0.7932 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.2396, allocations: 19.98 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2396, allocations: 0 / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2396, allocations: 0 / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2396, allocations: 3.938 kB / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2396, allocations: 7.938 kB / 0.7932 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.24, allocations: 208.6 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.2401, allocations: 112.7 kB / 0.7935 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.2402, allocations: 7.984 kB / 0.7935 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.2403, allocations: 11.94 kB / 0.7935 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2403, allocations: 11.98 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2404, allocations: 15.92 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003398/0.2407, allocations: 315.1 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2407, allocations: 0 / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002791/0.241, allocations: 52 kB / 0.7939 GB, free: 2.367 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.001442/0.2425, allocations: 1.056 MB / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.2429, allocations: 201.9 kB / 0.7951 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2429, allocations: 0 / 0.7951 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.243, allocations: 64.09 kB / 0.7952 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2435, allocations: 89.91 kB / 0.7953 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.2473, allocations: 3.116 MB / 0.7983 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2476, allocations: 0.7908 MB / 0.7991 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.2478, allocations: 54.94 kB / 0.7991 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2479, allocations: 107.4 kB / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.2479, allocations: 0 / 0.7992 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.271, allocations: 7.067 MB / 0.8061 GB, free: 6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.285, allocations: 4.656 kB / 0.8061 GB, free: 5.996 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)