Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.442/1.442, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.001062/0.001062, allocations: 182.7 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.000728/0.0007281, allocations: 104.6 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004061, allocations: 17.14 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2312, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001746/0.233, allocations: 1.285 MB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.2338, allocations: 0.521 MB / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.2339, allocations: 0 / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.234, allocations: 7.922 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.234, allocations: 11.88 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.2342, allocations: 39.89 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.2343, allocations: 67.77 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2344, allocations: 36.22 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.2345, allocations: 31.84 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.2346, allocations: 23.86 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2346, allocations: 8 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.562e-05/0.2347, allocations: 7.984 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.2347, allocations: 11.94 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.2348, allocations: 61.48 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2349, allocations: 60.11 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2349, allocations: 0 / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2349, allocations: 0 / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2349, allocations: 3.938 kB / 0.9823 GB, free: 25.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004713/0.2354, allocations: 395.2 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2355, allocations: 12.03 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.2355, allocations: 34.75 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.2356, allocations: 12.84 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2357, allocations: 197.8 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2358, allocations: 8.375 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.2358, allocations: 8.375 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2361, allocations: 113.8 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2361, allocations: 4 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2361, allocations: 7.984 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2361, allocations: 0 / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.2363, allocations: 107.9 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.2369, allocations: 392.5 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.237, allocations: 66.55 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2372, allocations: 48.95 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.2372, allocations: 15.92 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.2372, allocations: 38.5 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2372, allocations: 0 / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004454/0.2377, allocations: 185.5 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2377, allocations: 55.34 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.2378, allocations: 127.5 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2378, allocations: 29.7 kB / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.2379, allocations: 108 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2379, allocations: 19.72 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.2379, allocations: 4 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.238, allocations: 322.8 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2381, allocations: 43.97 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.2382, allocations: 47.91 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.2384, allocations: 96.81 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2384, allocations: 4 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002431/0.2387, allocations: 137.5 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2387, allocations: 8 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2387, allocations: 0 / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2387, allocations: 3.938 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2389, allocations: 19.98 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2389, allocations: 7.938 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.239, allocations: 11.98 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.239, allocations: 4 kB / 0.9849 GB, free: 22.21 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 (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.337e-05/0.2391, allocations: 125.8 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.2391, allocations: 7.906 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.2394, allocations: 154.8 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2395, allocations: 7.938 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2395, allocations: 0 / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2395, allocations: 4 kB / 0.9852 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2396, allocations: 205.6 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2396, allocations: 0 / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2398, allocations: 27.92 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2398, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.2398, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2398, allocations: 7.922 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2398, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2401, allocations: 231.4 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.2401, allocations: 89 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2401, allocations: 0 / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.2402, allocations: 11.94 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2403, allocations: 7.984 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2403, allocations: 8 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.2404, allocations: 104.8 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2404, allocations: 7.875 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002223/0.2406, allocations: 15.91 kB / 0.9859 GB, free: 21.12 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 (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.0004989/0.2411, allocations: 0.7748 MB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.2414, allocations: 111.9 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2414, allocations: 3.938 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2415, allocations: 55.95 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2417, allocations: 11.94 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2428, allocations: 0.7139 MB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.2429, allocations: 0.7004 MB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.243, allocations: 27.95 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.2431, allocations: 27.42 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.2431, allocations: 0 / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.23/0.4731, allocations: 1.677 MB / 0.9899 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.4734, allocations: 200.2 kB / 0.9901 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.193, allocations: 3.938 kB / 0.9901 GB, free: 16.8 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)