Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_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.001102/0.001102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006827/0.006827, allocations: 169.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 274.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004585, allocations: 16.19 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.001585/0.1752, allocations: 1.309 MB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000729/0.1759, allocations: 0.4934 MB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.176, allocations: 4.594 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.411e-05/0.1761, allocations: 7.938 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.1761, allocations: 13.02 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1763, allocations: 33.91 kB / 0.687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1764, allocations: 71.77 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1766, allocations: 48.17 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.1766, allocations: 27.86 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.1767, allocations: 35.83 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1767, allocations: 4 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.1768, allocations: 12.47 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.1768, allocations: 14.33 kB / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.1769, allocations: 61.44 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.177, allocations: 75.7 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.177, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.177, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.177, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB 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.0004731/0.1775, allocations: 395.9 kB / 0.6878 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1776, allocations: 12.03 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.1776, allocations: 38.69 kB / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1776, allocations: 12.84 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1778, allocations: 195.4 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1778, allocations: 4.375 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.1779, allocations: 8.375 kB / 0.688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1781, allocations: 121.6 kB / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1781, allocations: 0 / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1781, allocations: 4.781 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1782, allocations: 0 / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.1784, allocations: 106.4 kB / 0.6882 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1789, allocations: 395.2 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1791, allocations: 62.55 kB / 0.6887 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1792, allocations: 56.95 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1793, allocations: 7.984 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1793, allocations: 34.56 kB / 0.6888 GB, free: 11.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.1793, allocations: 0 / 0.6888 GB, free: 11.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.000454/0.1798, allocations: 189.4 kB / 0.689 GB, free: 10.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.1798, allocations: 55.34 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.1799, allocations: 132 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1799, allocations: 25.7 kB / 0.6892 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.18, allocations: 108.1 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.18, allocations: 23.72 kB / 0.6893 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.18, allocations: 9.719 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1801, allocations: 322.8 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1803, allocations: 43.97 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1804, allocations: 47.97 kB / 0.6897 GB, free: 10.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1806, allocations: 109.1 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1806, allocations: 0 / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002638/0.1809, allocations: 133.5 kB / 0.6899 GB, free: 9.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1809, allocations: 8 kB / 0.6899 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1809, allocations: 0 / 0.6899 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1809, allocations: 3.938 kB / 0.6899 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1811, allocations: 27.97 kB / 0.69 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1811, allocations: 3.984 kB / 0.69 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.1812, allocations: 11.94 kB / 0.69 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1812, allocations: 11.98 kB / 0.69 GB, free: 9.848 MB / 494.1 MB 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 8.526e-05/0.1813, allocations: 118.4 kB / 0.6901 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1813, allocations: 7.906 kB / 0.6901 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.1817, allocations: 150.3 kB / 0.6902 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1817, allocations: 7.938 kB / 0.6903 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1817, allocations: 3.984 kB / 0.6903 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1817, allocations: 3.938 kB / 0.6903 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1819, allocations: 209.5 kB / 0.6905 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1819, allocations: 4 kB / 0.6905 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.182, allocations: 19.98 kB / 0.6905 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.182, allocations: 0 / 0.6905 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.182, allocations: 3.984 kB / 0.6905 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.182, allocations: 3.938 kB / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.182, allocations: 4 kB / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1823, allocations: 239.3 kB / 0.6907 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.1824, allocations: 81.02 kB / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1824, allocations: 4.188 kB / 0.6908 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.1825, allocations: 19.92 kB / 0.6908 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1826, allocations: 4 kB / 0.6908 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1826, allocations: 11.98 kB / 0.6908 GB, free: 8.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.1826, allocations: 96.98 kB / 0.6909 GB, free: 8.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1826, allocations: 0 / 0.6909 GB, free: 8.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1829, allocations: 23.91 kB / 0.691 GB, free: 8.754 MB / 494.1 MB 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.0005661/0.1834, allocations: 0.7671 MB / 0.6917 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.1837, allocations: 107.9 kB / 0.6918 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1837, allocations: 0 / 0.6918 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1838, allocations: 67.89 kB / 0.6919 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.1841, allocations: 5.906 kB / 0.6919 GB, free: 7.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1857, allocations: 1.669 MB / 0.6935 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1859, allocations: 0.7005 MB / 0.6942 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.186, allocations: 15.97 kB / 0.6942 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.1861, allocations: 31.42 kB / 0.6942 GB, free: 5.266 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1861, allocations: 0 / 0.6942 GB, free: 5.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.293, allocations: 1.713 MB / 0.6959 GB, free: 3.688 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.2934, allocations: 213.3 kB / 0.6961 GB, free: 3.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.915, allocations: 3.938 kB / 0.6961 GB, free: 3.426 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)