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.664/2.664, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.001305/0.001305, allocations: 178.1 kB / 371 MB, free: 10.85 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.165/2.165, allocations: 205.4 MB / 0.6297 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.0009583/0.0009577, allocations: 101.4 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006491/0.0006494, allocations: 14.36 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2181, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001073/0.2192, allocations: 0.5649 MB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2203, allocations: 0.875 MB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.2204, allocations: 3.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2205, allocations: 7.938 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2207, allocations: 27.78 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2208, allocations: 27.95 kB / 0.9799 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.221, allocations: 123.6 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2212, allocations: 37.53 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.2213, allocations: 47.83 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2214, allocations: 79.61 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.2215, allocations: 4 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-05/0.2215, allocations: 8 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.2216, allocations: 31.89 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.2216, allocations: 45.64 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2218, allocations: 116 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2218, allocations: 0 / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2218, allocations: 0 / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2218, allocations: 0 / 0.9804 GB, free: 26.22 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.001127/0.2229, allocations: 0.5104 MB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.223, allocations: 16.02 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.2231, allocations: 38.5 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2231, allocations: 19.8 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2233, allocations: 218.5 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2234, allocations: 4 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2234, allocations: 12 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.2243, allocations: 205.5 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2243, allocations: 7.922 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2243, allocations: 7.953 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2243, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.2257, allocations: 279.8 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.2271, allocations: 0.5316 MB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.2279, allocations: 170.5 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/0.2286, allocations: 148.7 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.2286, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2287, allocations: 38.75 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.926e-06/0.2287, allocations: 3.938 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.002112/0.2308, allocations: 445.2 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2309, allocations: 59.34 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2311, allocations: 178.3 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2311, allocations: 25.7 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.2312, allocations: 124 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.2312, allocations: 27.56 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.2312, allocations: 0 / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.2313, allocations: 326.8 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006717/0.232, allocations: 135.9 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.2327, allocations: 127.9 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.2333, allocations: 127.9 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2333, allocations: 0 / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001412/0.2348, allocations: 321.2 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2348, allocations: 4 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2348, allocations: 3.984 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2348, allocations: 0.6562 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.2353, allocations: 59.94 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2354, allocations: 7.953 kB / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.2357, allocations: 47.86 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.2358, allocations: 4 kB / 0.9845 GB, free: 21.82 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.0001597/0.2359, allocations: 139 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.236, allocations: 11.91 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.2361, allocations: 33.27 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2361, allocations: 0 / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2361, allocations: 0 / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2361, allocations: 3.953 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.2364, allocations: 249.5 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2364, allocations: 0 / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.2369, allocations: 63.94 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.2369, allocations: 4 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2369, allocations: 0 / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2369, allocations: 0 / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2369, allocations: 0 / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.2384, allocations: 415.1 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2384, allocations: 92.91 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.2385, allocations: 0 / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.2389, allocations: 47.95 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.239, allocations: 7.984 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.239, allocations: 8 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001175/0.2391, allocations: 136.2 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2391, allocations: 0 / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000337/0.2395, allocations: 35.84 kB / 0.9857 GB, free: 20.51 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.001653/0.2411, allocations: 0.9426 MB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2425, allocations: 283.8 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2426, allocations: 0 / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006887/0.2433, allocations: 139.9 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.2437, allocations: 28.86 kB / 0.987 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.2473, allocations: 1.191 MB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2476, allocations: 0.7278 MB / 0.9889 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2478, allocations: 24.41 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.2479, allocations: 39.42 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/0.2479, allocations: 0 / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.2724, allocations: 3.026 MB / 0.9919 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.2727, allocations: 199.3 kB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/2.903, allocations: 0 / 0.9921 GB, free: 13.94 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)