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.364/1.364, allocations: 251.5 MB / 266.7 MB, free: 11 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.0009645/0.0009646, allocations: 179.3 kB / 325.9 MB, free: 2.672 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.896/1.896, allocations: 205 MB / 0.576 GB, free: 20.99 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.000832/0.0008324, allocations: 75.89 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003247, allocations: 13.02 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2403, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001745/0.2421, allocations: 1.336 MB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.2429, allocations: 0.5517 MB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.243, allocations: 0 / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2431, allocations: 3.938 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.2431, allocations: 15.86 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2433, allocations: 35.97 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.2434, allocations: 79.7 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2436, allocations: 40.16 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2436, allocations: 35.78 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.2437, allocations: 31.84 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2437, allocations: 0 / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.2438, allocations: 4 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.2438, allocations: 19.92 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.2439, allocations: 39.72 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.244, allocations: 75.7 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.244, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.244, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.244, allocations: 4 kB / 0.8984 GB, free: 65.79 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.0004276/0.2445, allocations: 387.2 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2445, allocations: 8.031 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.2445, allocations: 38.75 kB / 0.8988 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2446, allocations: 12.75 kB / 0.8988 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2447, allocations: 196.1 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2447, allocations: 8.375 kB / 0.899 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2447, allocations: 4.375 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.245, allocations: 118.9 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.245, allocations: 0 / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.245, allocations: 0 / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.245, allocations: 4 kB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2452, allocations: 107.9 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.2457, allocations: 392.5 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2458, allocations: 66.48 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.246, allocations: 60.95 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.246, allocations: 7.984 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.246, allocations: 30.56 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.246, allocations: 0 / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003908/0.2464, allocations: 185.5 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2464, allocations: 55.34 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.2465, allocations: 133.7 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2465, allocations: 25.7 kB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.2466, allocations: 116.1 kB / 0.9003 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2466, allocations: 7.812 kB / 0.9003 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.2466, allocations: 17.72 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.2467, allocations: 318.8 kB / 0.9006 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.2468, allocations: 43.97 kB / 0.9006 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.2469, allocations: 51.97 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2471, allocations: 100.8 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2471, allocations: 4 kB / 0.9008 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002173/0.2473, allocations: 137.5 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2473, allocations: 6.812 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2473, allocations: 448 / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2474, allocations: 7.938 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2475, allocations: 27.91 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2475, allocations: 4 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.2476, allocations: 15.94 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.2476, allocations: 3.984 kB / 0.901 GB, free: 62.91 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 5.869e-05/0.2477, allocations: 117.8 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2477, allocations: 11.89 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.248, allocations: 158.2 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.248, allocations: 7.922 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.248, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.248, allocations: 4 kB / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.2482, allocations: 197.6 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2482, allocations: 4 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.2483, allocations: 19.92 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2483, allocations: 4 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2483, allocations: 11.92 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2483, allocations: 3.938 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2483, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.2486, allocations: 231.4 kB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.2486, allocations: 85.02 kB / 0.9018 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2486, allocations: 0 / 0.9018 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.2487, allocations: 23.92 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.2488, allocations: 4 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2488, allocations: 3.984 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.2488, allocations: 107.2 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2488, allocations: 0 / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002062/0.249, allocations: 15.94 kB / 0.902 GB, free: 61.82 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.0004367/0.2495, allocations: 0.7789 MB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2497, allocations: 119.9 kB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2497, allocations: 0 / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2499, allocations: 55.97 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.2501, allocations: 16.56 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2514, allocations: 1.642 MB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2515, allocations: 0.7004 MB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.209e-05/0.2516, allocations: 19.91 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.2517, allocations: 27.42 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2517, allocations: 3.938 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.2621, allocations: 1.715 MB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.2623, allocations: 206.3 kB / 0.9071 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.821, allocations: 4 kB / 0.9071 GB, free: 56.49 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)