Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 178.4 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007077/0.0007076, allocations: 88.55 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 8.188 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.213, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001756/0.2149, allocations: 1.312 MB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000914/0.2158, allocations: 0.5508 MB / 0.9027 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.2159, allocations: 4 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.216, allocations: 7.922 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.2161, allocations: 15.86 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2163, allocations: 23.97 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.2164, allocations: 71.78 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.2166, allocations: 44.14 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.756e-05/0.2167, allocations: 27.86 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.2167, allocations: 27.84 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2168, allocations: 4 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.568e-05/0.2168, allocations: 12 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.2169, allocations: 27.91 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.2169, allocations: 57.44 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2171, allocations: 75.69 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2171, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2171, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2171, allocations: 0 / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004741/0.2176, allocations: 387.5 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2176, allocations: 12.03 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.2177, allocations: 38.75 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2177, allocations: 16.73 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2179, allocations: 195.1 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.2179, allocations: 4.375 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2179, allocations: 8.375 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2181, allocations: 122.7 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2182, allocations: 0 / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2182, allocations: 4 kB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2182, allocations: 4 kB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.2184, allocations: 99.94 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.2189, allocations: 388.6 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2191, allocations: 74.48 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2192, allocations: 52.95 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.2192, allocations: 3.938 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2193, allocations: 42.56 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2193, allocations: 0 / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004076/0.2197, allocations: 185.5 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2197, allocations: 59.34 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.2198, allocations: 129.7 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2198, allocations: 29.7 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.2199, allocations: 104.1 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.2199, allocations: 19.75 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.2199, allocations: 0 / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.22, allocations: 322.8 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.2201, allocations: 47.97 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.2202, allocations: 47.91 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2204, allocations: 108.8 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2204, allocations: 0 / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.2206, allocations: 133.5 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2206, allocations: 8 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2207, allocations: 0 / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2207, allocations: 3.938 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2208, allocations: 23.97 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2208, allocations: 0 / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.2209, allocations: 15.94 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2209, allocations: 7.984 kB / 0.9057 GB, free: 58.22 MB / 0.6042 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 (6): * Single equations (assignments): 6 * 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 7.575e-05/0.221, allocations: 117.8 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.2211, allocations: 7.906 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.2214, allocations: 162.2 kB / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2214, allocations: 11.92 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2214, allocations: 0 / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2214, allocations: 0 / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.2216, allocations: 205.6 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2216, allocations: 0.5 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.904e-05/0.2217, allocations: 23.92 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2217, allocations: 4 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2217, allocations: 3.984 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2217, allocations: 7.938 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2217, allocations: 4 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.222, allocations: 235.4 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.222, allocations: 84.95 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.222, allocations: 4 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.2221, allocations: 11.92 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.2222, allocations: 7.938 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2222, allocations: 7.984 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.2222, allocations: 101.5 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2222, allocations: 4 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002037/0.2224, allocations: 20 kB / 0.9067 GB, free: 57.12 MB / 0.6042 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 (6): * Single equations (assignments): 6 * 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.0004369/0.2229, allocations: 0.767 MB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.2231, allocations: 111.9 kB / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2231, allocations: 4 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2233, allocations: 63.91 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2235, allocations: 3.938 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2248, allocations: 1.658 MB / 0.9092 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.225, allocations: 0.6986 MB / 0.9099 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.59e-05/0.2251, allocations: 19.97 kB / 0.9099 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2251, allocations: 31.42 kB / 0.91 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2251, allocations: 0 / 0.91 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.2358, allocations: 1.723 MB / 0.9116 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.2359, allocations: 202.1 kB / 0.9118 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.841, allocations: 0 / 0.9118 GB, free: 51.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)