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.001221/0.001221, 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.001318/0.001318, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.669/1.669, 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.001449/0.001449, allocations: 74 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2118, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002291/0.2142, allocations: 0.8444 MB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.2151, allocations: 0.8905 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.2152, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.2153, allocations: 7.875 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2155, allocations: 23.78 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.2157, allocations: 55.88 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.2158, allocations: 123.7 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.216, allocations: 45.09 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.2161, allocations: 59.77 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2162, allocations: 79.67 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.2162, allocations: 12 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.2163, allocations: 16 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.2163, allocations: 35.89 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.2164, allocations: 55.66 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.2166, allocations: 147.8 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2166, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2166, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2166, allocations: 0 / 0.7858 GB, free: 10.96 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.0008241/0.2175, allocations: 446.9 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2175, allocations: 8.031 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.2176, allocations: 42.75 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2176, allocations: 12.78 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.2178, allocations: 207 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2178, allocations: 8.375 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.2179, allocations: 12.38 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.2183, allocations: 152.2 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2183, allocations: 4 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2183, allocations: 7.984 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2184, allocations: 7.922 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.219, allocations: 151.8 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.2196, allocations: 416.4 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008371/0.2204, allocations: 174.4 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.2207, allocations: 92.95 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2208, allocations: 3.984 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2208, allocations: 30.56 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.2208, allocations: 4 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009683/0.2218, allocations: 285.2 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2218, allocations: 55.34 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.222, allocations: 153.4 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.222, allocations: 29.7 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2221, allocations: 104 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.2221, allocations: 27.56 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.2222, allocations: 25.7 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2223, allocations: 326.8 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.2226, allocations: 75.92 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.2229, allocations: 76.3 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.2234, allocations: 160.8 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2234, allocations: 0 / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006351/0.2241, allocations: 201.4 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2241, allocations: 4 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2241, allocations: 3.938 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2241, allocations: 0 / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.2244, allocations: 43.95 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2244, allocations: 0 / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.2246, allocations: 27.84 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.2246, allocations: 7.984 kB / 0.7891 GB, free: 7.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: 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.000107/0.2248, allocations: 121.8 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.2248, allocations: 11.81 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.2248, allocations: 28.58 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2249, allocations: 4 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2249, allocations: 0 / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2249, allocations: 0 / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2251, allocations: 229.6 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2251, allocations: 0 / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2254, allocations: 43.95 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2254, allocations: 0 / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2254, allocations: 7.922 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2254, allocations: 4 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2254, allocations: 0 / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.2261, allocations: 299.3 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2261, allocations: 89.02 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2262, allocations: 11.88 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2264, allocations: 19.97 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2265, allocations: 35.91 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2265, allocations: 7.984 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.68e-05/0.2266, allocations: 111.2 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2266, allocations: 0 / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.2269, allocations: 27.94 kB / 0.7901 GB, free: 6.277 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.0009849/0.2279, allocations: 0.8333 MB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000635/0.2285, allocations: 183.8 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2285, allocations: 0 / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.2288, allocations: 103.9 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2291, allocations: 14.48 kB / 0.7912 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.2319, allocations: 1.836 MB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.2322, allocations: 0.7041 MB / 0.7936 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.2323, allocations: 24.42 kB / 0.7937 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2324, allocations: 47.42 kB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.2324, allocations: 0 / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.2518, allocations: 3.759 MB / 0.7974 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.574, allocations: 15.47 kB / 0.7974 GB, free: 14.73 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)