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.706/1.706, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001056/0.001056, allocations: 183.5 kB / 371.8 MB, free: 10.26 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.64/1.64, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009026/0.0009027, allocations: 87.44 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004258, allocations: 17.02 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2405, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001764/0.2423, allocations: 1.273 MB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.2433, allocations: 0.5211 MB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2434, allocations: 0 / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2436, allocations: 11.92 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.2437, allocations: 19.91 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.244, allocations: 19.97 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2441, allocations: 55.86 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.2444, allocations: 32.22 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.2445, allocations: 27.91 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2447, allocations: 27.84 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2447, allocations: 4 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.2448, allocations: 11.94 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.2448, allocations: 11.98 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.2449, allocations: 37.64 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.245, allocations: 68.05 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.245, allocations: 0 / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.245, allocations: 0 / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2451, allocations: 0 / 0.9815 GB, free: 25.47 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.0006451/0.2457, allocations: 391 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.2458, allocations: 20.02 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.2458, allocations: 34.56 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.2459, allocations: 7.906 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2462, allocations: 204.5 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2462, allocations: 8 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2462, allocations: 4 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2466, allocations: 109.6 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2466, allocations: 4 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2466, allocations: 0 / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.2466, allocations: 4 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.2469, allocations: 111.9 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.2474, allocations: 380.6 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2476, allocations: 74.47 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.2477, allocations: 4 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2477, allocations: 42.45 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2477, allocations: 3.938 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004575/0.2482, allocations: 181.6 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2482, allocations: 51.41 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.2483, allocations: 131.6 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2483, allocations: 33.64 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.2484, allocations: 108.2 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.2484, allocations: 23.78 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.2484, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.2485, allocations: 322.8 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2486, allocations: 43.97 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.2487, allocations: 47.97 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2489, allocations: 39.98 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2489, allocations: 0 / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002551/0.2491, allocations: 141.5 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2492, allocations: 4 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2492, allocations: 3.953 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2492, allocations: 4 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2493, allocations: 15.98 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.2494, allocations: 11.94 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.2494, allocations: 11.98 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.2495, allocations: 4 kB / 0.984 GB, free: 22.72 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 8.784e-05/0.2496, allocations: 121.8 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2496, allocations: 7.906 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.2499, allocations: 154.2 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.25, allocations: 3.953 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.25, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.25, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2501, allocations: 213.5 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2502, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2503, allocations: 28.42 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2503, allocations: 4 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2503, allocations: 0 / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2503, allocations: 4 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2503, allocations: 7.938 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2506, allocations: 231.4 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.2506, allocations: 92.94 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2507, allocations: 0 / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.2508, allocations: 8 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.2508, allocations: 15.94 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2508, allocations: 4 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.2509, allocations: 104.5 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2509, allocations: 0 / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002417/0.2511, allocations: 19.94 kB / 0.985 GB, free: 21.62 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.0005022/0.2516, allocations: 0.7709 MB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.2519, allocations: 111.9 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2519, allocations: 0 / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2521, allocations: 59.97 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.2522, allocations: 8.453 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2534, allocations: 0.7156 MB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.2536, allocations: 0.7083 MB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.2537, allocations: 15.98 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.2537, allocations: 23.42 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2537, allocations: 0 / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.2673, allocations: 1.697 MB / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.2675, allocations: 192 kB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/1.807, allocations: 3.938 kB / 0.9892 GB, free: 17.3 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)