Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.0009053, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009693/0.0009692, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005504, allocations: 13 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2641, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001605/0.2658, allocations: 1.281 MB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.2665, allocations: 0.5252 MB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.2666, allocations: 0 / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.999e-05/0.2667, allocations: 3.938 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.2667, allocations: 19.86 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.2669, allocations: 35.95 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.267, allocations: 67.72 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2672, allocations: 32.22 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.2672, allocations: 27.91 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.2673, allocations: 27.84 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.2673, allocations: 4 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.2674, allocations: 7.984 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.2674, allocations: 15.92 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.2675, allocations: 37.64 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.517e-05/0.2676, allocations: 60.12 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2676, allocations: 4 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2676, allocations: 3.984 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.2676, allocations: 0 / 0.7895 GB, free: 9.629 MB / 0.6075 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.0004565/0.2681, allocations: 387 kB / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2681, allocations: 11.97 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.2681, allocations: 34.56 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.2682, allocations: 15.91 kB / 0.7899 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2684, allocations: 198.8 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2684, allocations: 8 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2684, allocations: 4 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.2686, allocations: 113.6 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2687, allocations: 3.938 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2687, allocations: 0 / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2687, allocations: 4 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.2689, allocations: 107.9 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.2694, allocations: 384.5 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2696, allocations: 82.47 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2697, allocations: 52.95 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.2698, allocations: 7.984 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2698, allocations: 34.52 kB / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2698, allocations: 0 / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004351/0.2703, allocations: 185.5 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.2703, allocations: 55.41 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2704, allocations: 132.7 kB / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2704, allocations: 33.64 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.2705, allocations: 104.2 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2705, allocations: 15.8 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.2705, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.2706, allocations: 322.8 kB / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2707, allocations: 47.97 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.2709, allocations: 43.97 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.271, allocations: 47.97 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.271, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002547/0.2713, allocations: 137.9 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2713, allocations: 7.953 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2713, allocations: 0 / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2713, allocations: 4.062 kB / 0.792 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2714, allocations: 31.91 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2715, allocations: 7.938 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.2715, allocations: 8 kB / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2716, allocations: 3.984 kB / 0.792 GB, free: 6.82 MB / 0.6075 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.177e-05/0.2716, allocations: 117.8 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2717, allocations: 11.91 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.272, allocations: 162.2 kB / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.272, allocations: 0 / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.272, allocations: 0 / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.272, allocations: 0 / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2722, allocations: 205.6 kB / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2723, allocations: 4 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2724, allocations: 23.92 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2724, allocations: 7.984 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2724, allocations: 0 / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2724, allocations: 3.953 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2724, allocations: 3.938 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.2727, allocations: 231.4 kB / 0.7928 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.2728, allocations: 85.02 kB / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2728, allocations: 4 kB / 0.7928 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2729, allocations: 15.98 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2729, allocations: 7.953 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.273, allocations: 4.109 kB / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.273, allocations: 103.3 kB / 0.793 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.273, allocations: 0 / 0.793 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.2733, allocations: 16 kB / 0.793 GB, free: 5.73 MB / 0.6075 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.0005464/0.2738, allocations: 0.7787 MB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.2741, allocations: 119.9 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2741, allocations: 0 / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2742, allocations: 51.97 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2744, allocations: 15.19 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2755, allocations: 0.7276 MB / 0.7946 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2758, allocations: 0.7043 MB / 0.7953 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.064e-05/0.2759, allocations: 11.98 kB / 0.7953 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2759, allocations: 27.42 kB / 0.7954 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2759, allocations: 0 / 0.7954 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.2883, allocations: 1.694 MB / 0.797 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.2885, allocations: 192.4 kB / 0.7972 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.07, allocations: 0 / 0.7972 GB, free: 1.391 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: