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.652/1.652, allocations: 288.4 MB / 303.3 MB, free: 8.109 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.001005/0.001005, allocations: 199.1 kB / 372 MB, free: 10.28 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.864/1.864, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008547/0.0008546, allocations: 101.1 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004554, allocations: 16.72 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001658/0.2649, allocations: 1.285 MB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.2657, allocations: 0.5248 MB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.2657, allocations: 4 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2658, allocations: 3.938 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.2659, allocations: 7.875 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2661, allocations: 31.95 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.2662, allocations: 71.7 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2664, allocations: 32.22 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.2665, allocations: 31.91 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.2666, allocations: 35.84 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2666, allocations: 0 / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.2666, allocations: 8 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.2667, allocations: 15.92 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.2667, allocations: 37.64 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.836e-05/0.2668, allocations: 64.05 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2668, allocations: 4 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2668, allocations: 0 / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2669, allocations: 0 / 0.9817 GB, free: 25.41 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.0004762/0.2673, allocations: 395 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2674, allocations: 12.02 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.2674, allocations: 42.5 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2675, allocations: 7.906 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.2676, allocations: 198.8 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2676, allocations: 8 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.2677, allocations: 4 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2679, allocations: 109.6 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.268, allocations: 3.984 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.268, allocations: 0 / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.268, allocations: 4 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.2682, allocations: 109.9 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.2688, allocations: 388.5 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.269, allocations: 62.55 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2691, allocations: 60.94 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.2692, allocations: 7.938 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2692, allocations: 38.52 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2692, allocations: 3.938 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004483/0.2697, allocations: 177.7 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.2697, allocations: 55.41 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.2698, allocations: 131.7 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2698, allocations: 25.7 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.2699, allocations: 104.2 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.2699, allocations: 23.78 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.2699, allocations: 4 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.27, allocations: 314.8 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2701, allocations: 43.97 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-05/0.2702, allocations: 55.95 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.2703, allocations: 51.98 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2703, allocations: 0 / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002533/0.2706, allocations: 141.5 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2706, allocations: 9.203 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2706, allocations: 0 / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2707, allocations: 3.984 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2708, allocations: 19.98 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2708, allocations: 0 / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.2709, allocations: 15.98 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.2709, allocations: 4 kB / 0.9843 GB, free: 22.61 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.701e-05/0.271, allocations: 121.8 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.2711, allocations: 11.91 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.2714, allocations: 158.2 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2714, allocations: 4 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2714, allocations: 0 / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2714, allocations: 0 / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2716, allocations: 213.5 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2716, allocations: 0 / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.2717, allocations: 23.98 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2717, allocations: 0 / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2717, allocations: 4 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2717, allocations: 7.953 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2718, allocations: 7.922 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.272, allocations: 231.7 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.2721, allocations: 81.02 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.2721, allocations: 11.92 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.2722, allocations: 8 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.2723, allocations: 11.94 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2723, allocations: 4 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.2724, allocations: 104.7 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2724, allocations: 4 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002129/0.2726, allocations: 12 kB / 0.9852 GB, free: 21.52 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.0005714/0.2732, allocations: 0.7748 MB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.2735, allocations: 107.9 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2735, allocations: 4 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2736, allocations: 59.91 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.2738, allocations: 11.94 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.275, allocations: 0.7178 MB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2752, allocations: 0.6965 MB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.2753, allocations: 15.97 kB / 0.9876 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.2754, allocations: 31.42 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2754, allocations: 0 / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.2891, allocations: 1.702 MB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.2893, allocations: 199.3 kB / 0.9894 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.917, allocations: 4 kB / 0.9894 GB, free: 17.19 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)