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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001134/0.001134, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.275/1.275, allocations: 205.1 MB / 222 MB, free: 4.766 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.673/1.673, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001378/0.001378, allocations: 66.48 kB / 0.6709 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.201, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001861/0.2029, allocations: 0.8399 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.2038, allocations: 0.8604 MB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2038, allocations: 4 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.2038, allocations: 3.984 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.222e-05/0.2039, allocations: 7.922 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.2041, allocations: 39.91 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.2042, allocations: 79.83 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2043, allocations: 36.2 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.2043, allocations: 31.8 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.2044, allocations: 55.8 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.2045, allocations: 4 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.2045, allocations: 4 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.2045, allocations: 19.92 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.2046, allocations: 31.8 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.2047, allocations: 76 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2047, allocations: 4 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2047, allocations: 4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.2047, allocations: 0 / 0.7849 GB, free: 11.79 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.0005943/0.2053, allocations: 399.1 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2053, allocations: 8.031 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.2054, allocations: 46.67 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.2054, allocations: 8.844 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2055, allocations: 180.2 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2055, allocations: 8.375 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2056, allocations: 8.375 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.2059, allocations: 107 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2059, allocations: 3.938 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2059, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2059, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.2063, allocations: 103.9 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.2068, allocations: 348.5 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.2074, allocations: 126.5 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2076, allocations: 52.81 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2076, allocations: 3.984 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2076, allocations: 42.5 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.2077, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000618/0.2083, allocations: 185.4 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2083, allocations: 55.41 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.2084, allocations: 125.1 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2084, allocations: 29.7 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.2085, allocations: 92.05 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2085, allocations: 27.7 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.2086, allocations: 17.72 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.2087, allocations: 326.8 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.2088, allocations: 43.95 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.209, allocations: 47.89 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.2093, allocations: 108.8 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2094, allocations: 0 / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003798/0.2097, allocations: 129.6 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2098, allocations: 4 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2098, allocations: 4 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2098, allocations: 0 / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.21, allocations: 23.97 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.21, allocations: 0 / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2101, allocations: 27.8 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2101, allocations: 11.94 kB / 0.7874 GB, free: 8.91 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 8.014e-05/0.2102, allocations: 120.6 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.2102, allocations: 4 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.2103, allocations: 16.36 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2103, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2103, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2103, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.2105, allocations: 209.4 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2105, allocations: 3.938 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.2107, allocations: 27.97 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2107, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2107, allocations: 8 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2107, allocations: 4 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2107, allocations: 0 / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.2111, allocations: 239.2 kB / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.2112, allocations: 81.11 kB / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2112, allocations: 0 / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2114, allocations: 23.97 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.2114, allocations: 11.98 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.2115, allocations: 7.984 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.2115, allocations: 99.27 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2115, allocations: 0 / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002284/0.2117, allocations: 19.84 kB / 0.7883 GB, free: 7.961 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.000673/0.2124, allocations: 0.7676 MB / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.2128, allocations: 115.9 kB / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2128, allocations: 0 / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.213, allocations: 64.12 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2133, allocations: 11.94 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2152, allocations: 1.562 MB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2154, allocations: 0.7004 MB / 0.7914 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.366e-05/0.2155, allocations: 12 kB / 0.7914 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.2156, allocations: 27.42 kB / 0.7915 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2156, allocations: 0 / 0.7915 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.2266, allocations: 2.373 MB / 0.7938 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.2268, allocations: 203.4 kB / 0.794 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.949, allocations: 7.062 kB / 0.794 GB, free: 2.039 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)