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.0009023/0.0009025, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.00127/0.00127, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 222.1 MB, free: 5.613 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.722/1.722, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005695/0.0005697, allocations: 13.12 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2919, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001304/0.2933, allocations: 0.5374 MB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2947, allocations: 0.8983 MB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.2948, allocations: 4 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2949, allocations: 7.922 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2951, allocations: 11.92 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.2953, allocations: 51.88 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2955, allocations: 103.8 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2957, allocations: 29.3 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.2958, allocations: 47.81 kB / 0.7891 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.296, allocations: 67.73 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.296, allocations: 4 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.736e-05/0.2961, allocations: 12 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.2961, allocations: 23.91 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.2962, allocations: 37.64 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.2964, allocations: 100 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.2964, allocations: 0 / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2964, allocations: 3.938 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2964, allocations: 0 / 0.7893 GB, free: 9.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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001036/0.2975, allocations: 446.8 kB / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.2975, allocations: 8.031 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.905e-05/0.2976, allocations: 46.44 kB / 0.7898 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.2977, allocations: 7.906 kB / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.298, allocations: 207.4 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.298, allocations: 4 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.2981, allocations: 12 kB / 0.79 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.2986, allocations: 161.5 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2986, allocations: 3.953 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.2987, allocations: 8 kB / 0.7902 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2987, allocations: 3.938 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.2995, allocations: 183.8 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.3003, allocations: 428.4 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3014, allocations: 182.5 kB / 0.7909 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.3018, allocations: 101 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3018, allocations: 0 / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3019, allocations: 42.48 kB / 0.7911 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3019, allocations: 0 / 0.7911 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.001301/0.3032, allocations: 329.5 kB / 0.7914 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3033, allocations: 55.36 kB / 0.7914 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3034, allocations: 150.4 kB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3035, allocations: 25.7 kB / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.3036, allocations: 108 kB / 0.7917 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.3036, allocations: 27.56 kB / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.3036, allocations: 0 / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3038, allocations: 318.8 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.3041, allocations: 95.92 kB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3045, allocations: 92.23 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.3049, allocations: 95.92 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3049, allocations: 0 / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007891/0.3057, allocations: 229.4 kB / 0.7925 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3057, allocations: 11.94 kB / 0.7925 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3057, allocations: 4 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3058, allocations: 3.984 kB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.3061, allocations: 47.88 kB / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3061, allocations: 11.94 kB / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3063, allocations: 39.81 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.3064, allocations: 4 kB / 0.7926 GB, free: 6.246 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.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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.3065, allocations: 121.8 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.3066, allocations: 11.89 kB / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.3066, allocations: 16.72 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3066, allocations: 0 / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3066, allocations: 0 / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3067, allocations: 7.953 kB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.307, allocations: 233.5 kB / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.307, allocations: 0 / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.3073, allocations: 47.95 kB / 0.7931 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3073, allocations: 0 / 0.7931 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3074, allocations: 4 kB / 0.7931 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3074, allocations: 3.938 kB / 0.7931 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3074, allocations: 4 kB / 0.7931 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.3083, allocations: 331.5 kB / 0.7934 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.3084, allocations: 96.86 kB / 0.7935 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3084, allocations: 3.984 kB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3087, allocations: 31.97 kB / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3088, allocations: 27.97 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3089, allocations: 7.984 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001029/0.309, allocations: 107.8 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.309, allocations: 0 / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003927/0.3094, allocations: 23.94 kB / 0.7937 GB, free: 5.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.3107, allocations: 0.8762 MB / 0.7945 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008236/0.3115, allocations: 199.8 kB / 0.7947 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3115, allocations: 0 / 0.7947 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.312, allocations: 123.8 kB / 0.7948 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3124, allocations: 15.92 kB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.3149, allocations: 0.9177 MB / 0.7957 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3153, allocations: 0.7083 MB / 0.7964 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.3154, allocations: 20.42 kB / 0.7965 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3156, allocations: 43.41 kB / 0.7965 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3156, allocations: 0 / 0.7965 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.3334, allocations: 3.206 MB / 0.7996 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.3336, allocations: 195.5 kB / 0.7998 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.115, allocations: 0 / 0.7998 GB, free: 14.79 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/linux/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) Environment - environmentSimulation: