Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 3.109/3.109, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 189.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 97.08 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005077, allocations: 12.22 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2247, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001212/0.226, allocations: 0.5366 MB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2275, allocations: 0.8915 MB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.2276, allocations: 4 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2277, allocations: 7.938 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.2279, allocations: 23.84 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2281, allocations: 39.94 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.2282, allocations: 71.84 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2284, allocations: 37.28 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.2285, allocations: 43.84 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2286, allocations: 59.8 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.2287, allocations: 7.938 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.893e-05/0.2287, allocations: 8 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.2288, allocations: 23.89 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.2289, allocations: 41.64 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.229, allocations: 96.05 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.229, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.229, allocations: 4 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.229, allocations: 3.938 kB / 0.9801 GB, free: 26.36 MB / 0.6198 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.0009811/0.23, allocations: 446.8 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2301, allocations: 12.02 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.2302, allocations: 42.55 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.2302, allocations: 11.86 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.2304, allocations: 199.4 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2304, allocations: 8 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.2305, allocations: 4 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.2311, allocations: 177.4 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2312, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2312, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2312, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.2322, allocations: 193.7 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.233, allocations: 420.4 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.2346, allocations: 186.6 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2346, allocations: 4.172 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2346, allocations: 38.53 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.2346, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001619/0.2363, allocations: 329.4 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2363, allocations: 55.41 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2365, allocations: 151.5 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.2365, allocations: 25.7 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.2366, allocations: 108 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.996e-05/0.2366, allocations: 31.55 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.2366, allocations: 4 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.2367, allocations: 314.8 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.2372, allocations: 95.92 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.2377, allocations: 87.92 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.2382, allocations: 91.92 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2382, allocations: 4 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001052/0.2393, allocations: 233.4 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2393, allocations: 4 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2393, allocations: 0 / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2394, allocations: 0 / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.2398, allocations: 51.89 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2399, allocations: 3.953 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.2402, allocations: 43.81 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2402, allocations: 8 kB / 0.9834 GB, free: 22.81 MB / 0.6198 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.0001171/0.2403, allocations: 122.5 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.2404, allocations: 11.91 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.2404, allocations: 12.72 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2405, allocations: 7.984 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2405, allocations: 0 / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2405, allocations: 3.953 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.2408, allocations: 233.5 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2408, allocations: 7.938 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.2412, allocations: 39.95 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2413, allocations: 4 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.2413, allocations: 7.938 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2413, allocations: 0 / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2413, allocations: 0 / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2424, allocations: 335.2 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2425, allocations: 92.91 kB / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2425, allocations: 4 kB / 0.9842 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.2429, allocations: 35.91 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.243, allocations: 27.97 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.243, allocations: 7.984 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.2431, allocations: 110.8 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2431, allocations: 0 / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003274/0.2435, allocations: 27.94 kB / 0.9844 GB, free: 21.66 MB / 0.6198 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.001352/0.2448, allocations: 0.8684 MB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.2459, allocations: 203.8 kB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.246, allocations: 0 / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.2465, allocations: 120.2 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2468, allocations: 16.11 kB / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.2496, allocations: 0.9044 MB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2498, allocations: 0.7121 MB / 0.9872 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.25, allocations: 20.42 kB / 0.9872 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.2502, allocations: 43.41 kB / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.372e-06/0.2502, allocations: 0 / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2732, allocations: 3.197 MB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.2735, allocations: 188.5 kB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/2.822, allocations: 0 / 0.9905 GB, free: 15.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)