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.458/1.458, allocations: 252 MB / 267 MB, free: 10.97 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.001234/0.001234, allocations: 179.6 kB / 326.6 MB, free: 2.238 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.854/1.854, allocations: 205.4 MB / 0.5777 GB, free: 20.62 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.0007026/0.0007027, allocations: 85.78 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 9.219 kB / 0.7964 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 106.3 MB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001716/0.2081, allocations: 1.301 MB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.2089, allocations: 0.52 MB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.209, allocations: 0 / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2091, allocations: 7.938 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.2092, allocations: 15.8 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.2094, allocations: 27.97 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.2095, allocations: 75.7 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2096, allocations: 40.14 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.2097, allocations: 27.86 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.2098, allocations: 31.84 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2098, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.2099, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.2099, allocations: 23.91 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.2099, allocations: 33.7 kB / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.21, allocations: 51.89 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2101, allocations: 3.938 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2101, allocations: 0 / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2101, allocations: 0 / 0.9024 GB, free: 62.18 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.0004646/0.2105, allocations: 395.4 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2106, allocations: 12.02 kB / 0.9028 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.2106, allocations: 38.56 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.2107, allocations: 15.77 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2109, allocations: 193.1 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.2109, allocations: 0 / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2109, allocations: 8 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.2112, allocations: 119.9 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2112, allocations: 0 / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2112, allocations: 7.984 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2113, allocations: 4 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.2115, allocations: 103.9 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.212, allocations: 384.5 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2122, allocations: 70.53 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2123, allocations: 56.91 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.2123, allocations: 11.97 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.2124, allocations: 38.56 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2124, allocations: 0 / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000465/0.2128, allocations: 181.5 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2129, allocations: 51.41 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.213, allocations: 130 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.213, allocations: 29.7 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.213, allocations: 104.3 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.213, allocations: 27.64 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.2131, allocations: 4 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.2131, allocations: 318.8 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2132, allocations: 43.97 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.2133, allocations: 52.2 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2134, allocations: 52.11 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2135, allocations: 0 / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002522/0.2137, allocations: 145.4 kB / 0.9049 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2137, allocations: 11.94 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2137, allocations: 0 / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2138, allocations: 0 / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2139, allocations: 19.98 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2139, allocations: 0 / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.214, allocations: 15.98 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.214, allocations: 4 kB / 0.9049 GB, free: 59.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.2141, allocations: 117.8 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.2141, allocations: 15.8 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.2145, allocations: 158.3 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2145, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2145, allocations: 4 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2145, allocations: 0 / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.2147, allocations: 201.6 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2147, allocations: 0 / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2148, allocations: 19.98 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2148, allocations: 0 / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2148, allocations: 7.953 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.2148, allocations: 0 / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2148, allocations: 0 / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.2151, allocations: 243.5 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.2151, allocations: 81.02 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.2151, allocations: 7.984 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.2153, allocations: 15.95 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.2153, allocations: 7.984 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2153, allocations: 4 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.2154, allocations: 105.9 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2154, allocations: 0 / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002214/0.2156, allocations: 23.84 kB / 0.9059 GB, free: 58.28 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 (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.0004889/0.2161, allocations: 0.7748 MB / 0.9067 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.2164, allocations: 107.9 kB / 0.9068 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2164, allocations: 4 kB / 0.9068 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2165, allocations: 51.97 kB / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.2167, allocations: 15.94 kB / 0.9068 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2178, allocations: 0.7101 MB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.218, allocations: 0.7005 MB / 0.9082 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.2181, allocations: 19.91 kB / 0.9082 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2182, allocations: 31.42 kB / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2182, allocations: 0 / 0.9083 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.2311, allocations: 1.709 MB / 0.9099 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001211/0.2312, allocations: 190.5 kB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.878, allocations: 3.938 kB / 0.9101 GB, free: 53.96 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)