Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.001037/0.001037, allocations: 103.4 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.001034/0.001034, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.387/1.387, allocations: 205.1 MB / 222.1 MB, free: 4.758 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.604/1.604, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001328/0.001328, allocations: 71.77 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1966, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002003/0.1987, allocations: 0.9032 MB / 0.7839 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009524/0.1996, allocations: 0.8944 MB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.1997, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.1998, allocations: 19.86 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1999, allocations: 3.938 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.2001, allocations: 51.94 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.2003, allocations: 131.7 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2004, allocations: 45.09 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.2005, allocations: 55.78 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2006, allocations: 75.72 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.2006, allocations: 12 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.2007, allocations: 12 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.2007, allocations: 43.83 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.2008, allocations: 59.66 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.2009, allocations: 139.8 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.201, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.201, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.201, allocations: 4 kB / 0.7854 GB, free: 11.34 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007545/0.2017, allocations: 438.9 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2018, allocations: 12.03 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.2018, allocations: 42.75 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.2019, allocations: 20.77 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2021, allocations: 196.7 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.2021, allocations: 16.31 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.2021, allocations: 8.375 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.2025, allocations: 153.4 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2025, allocations: 0 / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2025, allocations: 4 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2026, allocations: 11.94 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.2031, allocations: 151.8 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.2037, allocations: 416.4 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.2045, allocations: 174.6 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.2048, allocations: 92.8 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2049, allocations: 4 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2049, allocations: 30.56 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.2049, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0008942/0.2058, allocations: 281.2 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2058, allocations: 55.34 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.206, allocations: 154 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.206, allocations: 29.7 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.2061, allocations: 104 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.2061, allocations: 27.56 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.2062, allocations: 29.69 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2063, allocations: 322.8 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.2066, allocations: 75.92 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.2068, allocations: 84.23 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.2073, allocations: 152.8 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2073, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005573/0.2079, allocations: 201.4 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2079, allocations: 4 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2079, allocations: 7.938 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2079, allocations: 0 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.2082, allocations: 35.95 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2082, allocations: 7.984 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2084, allocations: 27.91 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2084, allocations: 0 / 0.7886 GB, free: 7.801 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001024/0.2085, allocations: 128.6 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.2086, allocations: 11.81 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.2086, allocations: 28.58 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2086, allocations: 3.984 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2086, allocations: 4 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2086, allocations: 0 / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2089, allocations: 233.5 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2089, allocations: 0 / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.2091, allocations: 35.95 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2091, allocations: 0 / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2091, allocations: 11.94 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.2092, allocations: 4 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2092, allocations: 0 / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.2098, allocations: 299.3 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2098, allocations: 89.02 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.2098, allocations: 11.88 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.21, allocations: 19.97 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2102, allocations: 39.95 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2102, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.986e-05/0.2103, allocations: 107.2 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2103, allocations: 0 / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002432/0.2105, allocations: 27.94 kB / 0.7896 GB, free: 6.668 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009238/0.2114, allocations: 0.841 MB / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.212, allocations: 175.8 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2121, allocations: 4 kB / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.2124, allocations: 95.91 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2127, allocations: 23.94 kB / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.2154, allocations: 1.862 MB / 0.7925 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2157, allocations: 0.7041 MB / 0.7932 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2158, allocations: 20.42 kB / 0.7932 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2159, allocations: 47.41 kB / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of SimCode: time 8.71e-07/0.2159, allocations: 0 / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.2293, allocations: 3.444 MB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.2295, allocations: 202.3 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.967, allocations: 0 / 0.7968 GB, free: 15.21 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)