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 2.664/2.664, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001384/0.001384, allocations: 178 kB / 371 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.365/2.365, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.001366/0.001366, allocations: 88.73 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005, allocations: 13.39 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001095/0.2129, allocations: 0.5365 MB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2141, allocations: 0.8837 MB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.2142, allocations: 0 / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.181e-05/0.2143, allocations: 11.92 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2145, allocations: 11.88 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2147, allocations: 39.94 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.2149, allocations: 111.7 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.215, allocations: 37.28 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.2151, allocations: 47.83 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2152, allocations: 63.73 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.2153, allocations: 8 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.2153, allocations: 4 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.2154, allocations: 31.83 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2154, allocations: 41.64 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.2156, allocations: 96.05 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2156, allocations: 0 / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2156, allocations: 4 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2156, allocations: 0 / 0.9803 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001011/0.2166, allocations: 446.8 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2167, allocations: 15.95 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.2168, allocations: 38.56 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.2168, allocations: 15.86 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.217, allocations: 205.2 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2171, allocations: 8 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.2171, allocations: 4 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.2178, allocations: 165.5 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2178, allocations: 0 / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.2178, allocations: 3.984 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2178, allocations: 4 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009627/0.2188, allocations: 191.8 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.2197, allocations: 420.4 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.2212, allocations: 186.4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.2217, allocations: 101 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.2218, allocations: 4 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2218, allocations: 34.56 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.2218, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001614/0.2235, allocations: 329.4 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2235, allocations: 55.41 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2237, allocations: 148.1 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2237, allocations: 29.7 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.2238, allocations: 108 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2238, allocations: 31.55 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.2238, allocations: 4 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.2239, allocations: 322.8 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.2244, allocations: 91.86 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.2249, allocations: 96.3 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.2254, allocations: 92.05 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2254, allocations: 4 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001064/0.2265, allocations: 233.4 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2265, allocations: 4 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2266, allocations: 4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2266, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.2271, allocations: 51.91 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2271, allocations: 3.984 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.2274, allocations: 35.81 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2274, allocations: 0 / 0.9837 GB, free: 22.62 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.0001283/0.2276, allocations: 131.1 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.2276, allocations: 7.906 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.2277, allocations: 20.7 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2277, allocations: 0 / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2277, allocations: 7.953 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2277, allocations: 3.984 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.228, allocations: 229.6 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2281, allocations: 0 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.2285, allocations: 47.95 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2286, allocations: 0 / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2286, allocations: 4 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2286, allocations: 0 / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2286, allocations: 0 / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2297, allocations: 339.2 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.2298, allocations: 88.92 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.2298, allocations: 192 / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.2302, allocations: 31.97 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2303, allocations: 39.83 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2304, allocations: 7.984 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.2304, allocations: 110.6 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2305, allocations: 0 / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00035/0.2308, allocations: 27.89 kB / 0.9847 GB, free: 21.46 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.00138/0.2322, allocations: 0.8762 MB / 0.9856 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2333, allocations: 195.8 kB / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2333, allocations: 0 / 0.9858 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.2339, allocations: 119.8 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2343, allocations: 13.88 kB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2371, allocations: 0.9083 MB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.2373, allocations: 0.7043 MB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.2375, allocations: 24.42 kB / 0.9875 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.2377, allocations: 43.41 kB / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2377, allocations: 480 / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.266, allocations: 3.213 MB / 0.9907 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.2663, allocations: 196.8 kB / 0.9909 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/2.925, allocations: 0 / 0.9909 GB, free: 15.18 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)