Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_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 2.707/2.707, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001545/0.001545, allocations: 186.1 kB / 370.8 MB, free: 10.84 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.171/2.171, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001111/0.001111, allocations: 93.8 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006541, allocations: 14.91 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2155, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001089/0.2167, allocations: 0.5689 MB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2178, allocations: 0.875 MB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.2179, allocations: 7.938 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.218, allocations: 7.922 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2181, allocations: 35.83 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.2183, allocations: 27.95 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.2184, allocations: 79.84 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2186, allocations: 49.5 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.2187, allocations: 39.84 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2188, allocations: 71.73 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2189, allocations: 8 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.2189, allocations: 4 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.219, allocations: 31.89 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.219, allocations: 49.56 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.2192, allocations: 120 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.656e-06/0.2192, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2192, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2192, allocations: 0 / 0.9802 GB, free: 26.27 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001123/0.2203, allocations: 0.5103 MB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2204, allocations: 12.02 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.2205, allocations: 46.55 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.2205, allocations: 15.81 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.2207, allocations: 218.4 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2208, allocations: 12 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.2208, allocations: 12 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.2216, allocations: 201.5 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.2217, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.2218, allocations: 7.953 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2218, allocations: 4 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2231, allocations: 277.7 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.2245, allocations: 0.5316 MB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.2252, allocations: 178.4 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2253, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2253, allocations: 30.56 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2253, allocations: 4 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.002084/0.2274, allocations: 449.5 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2275, allocations: 55.36 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2276, allocations: 174.3 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2277, allocations: 37.7 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.2278, allocations: 116 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2278, allocations: 31.55 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.2278, allocations: 4 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.2279, allocations: 326.8 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.2286, allocations: 127.9 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.2292, allocations: 135.9 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.2299, allocations: 132.3 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2299, allocations: 4 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001364/0.2313, allocations: 313.3 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2313, allocations: 8 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2313, allocations: 0 / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2314, allocations: 0 / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.2319, allocations: 67.81 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2319, allocations: 3.953 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.2322, allocations: 47.86 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2323, allocations: 8 kB / 0.9842 GB, free: 22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001176/0.2324, allocations: 129.8 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2325, allocations: 15.91 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.2325, allocations: 17.41 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2325, allocations: 3.984 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2325, allocations: 0 / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2326, allocations: 3.953 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.2329, allocations: 249.5 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2329, allocations: 0 / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.2333, allocations: 67.88 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2334, allocations: 4 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.2334, allocations: 0 / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2334, allocations: 0 / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2334, allocations: 0 / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2349, allocations: 412.1 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.2349, allocations: 92.92 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.235, allocations: 0 / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2354, allocations: 47.94 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.2355, allocations: 15.98 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2355, allocations: 192 / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001155/0.2356, allocations: 136.3 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2356, allocations: 3.938 kB / 0.9853 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003444/0.236, allocations: 31.84 kB / 0.9853 GB, free: 20.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001636/0.2376, allocations: 0.9387 MB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.2391, allocations: 283.7 kB / 0.9865 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2391, allocations: 0 / 0.9865 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.2398, allocations: 147.8 kB / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2402, allocations: 20.17 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.2436, allocations: 1.186 MB / 0.9878 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2439, allocations: 0.7355 MB / 0.9886 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.244, allocations: 16.42 kB / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2442, allocations: 39.42 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.2442, allocations: 7.938 kB / 0.9886 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.2712, allocations: 3.004 MB / 0.9916 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.2715, allocations: 192.9 kB / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/2.779, allocations: 4 kB / 0.9917 GB, free: 14.15 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)