Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 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.001599/0.001599, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.314/1.314, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.679/1.679, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00139/0.001391, allocations: 74.89 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2028, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002028/0.2049, allocations: 0.7939 MB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.2058, allocations: 0.8671 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.2059, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.2059, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.206, allocations: 11.88 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.2062, allocations: 43.89 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2063, allocations: 87.81 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2064, allocations: 28.16 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.2065, allocations: 35.91 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.2066, allocations: 55.75 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2067, allocations: 12 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.2067, allocations: 8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.2067, allocations: 15.98 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.2068, allocations: 39.78 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2069, allocations: 91.94 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2069, allocations: 3.984 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2069, allocations: 0 / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2069, allocations: 0 / 0.7855 GB, free: 11.28 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006652/0.2076, allocations: 399.1 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2076, allocations: 8.031 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.2077, allocations: 34.75 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.2077, allocations: 8.844 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2079, allocations: 184.2 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2079, allocations: 4.375 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2079, allocations: 4.375 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2082, allocations: 114.2 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2083, allocations: 3.938 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2083, allocations: 0 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.2083, allocations: 4 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.2087, allocations: 99.41 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.2092, allocations: 352.5 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/0.2099, allocations: 118.6 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2101, allocations: 60.81 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2101, allocations: 3.938 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2101, allocations: 30.56 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2101, allocations: 0 / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007014/0.2109, allocations: 185.5 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2109, allocations: 51.41 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.211, allocations: 129.8 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.211, allocations: 25.7 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.2111, allocations: 99.98 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2111, allocations: 19.69 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.2112, allocations: 29.64 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2113, allocations: 326.8 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2115, allocations: 43.95 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.2117, allocations: 51.89 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.2121, allocations: 100.8 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2121, allocations: 0 / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004229/0.2125, allocations: 129.6 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2125, allocations: 10.64 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2125, allocations: 0 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2126, allocations: 4 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2128, allocations: 27.97 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2128, allocations: 7.938 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2129, allocations: 19.83 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2129, allocations: 3.984 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.255e-05/0.213, allocations: 120.6 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.2131, allocations: 7.984 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.2131, allocations: 8.375 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2131, allocations: 4 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2131, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2131, allocations: 4 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.2133, allocations: 213.4 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2133, allocations: 0 / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.2135, allocations: 23.97 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2135, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2135, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2135, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2135, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.214, allocations: 247.8 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.2141, allocations: 77.11 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2141, allocations: 3.984 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2143, allocations: 11.98 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.2143, allocations: 23.92 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2144, allocations: 3.984 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.2144, allocations: 103.3 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2144, allocations: 0 / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002403/0.2147, allocations: 19.84 kB / 0.7889 GB, free: 7.461 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.00079/0.2155, allocations: 0.7787 MB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.2159, allocations: 103.9 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2159, allocations: 0 / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.2161, allocations: 67.89 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2165, allocations: 15.88 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.2186, allocations: 1.557 MB / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2189, allocations: 0.6885 MB / 0.7921 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.219, allocations: 15.98 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.2191, allocations: 31.42 kB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of SimCode: time 6.22e-07/0.2191, allocations: 0 / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.238, allocations: 2.697 MB / 0.7947 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.104/9.342, allocations: 4.062 kB / 0.7947 GB, free: 1.445 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)