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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 102 kB / 16.36 MB, free: 6.301 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.001806/0.001806, allocations: 191.9 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.906/1.906, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001488/0.001488, allocations: 75.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2253, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003002/0.2283, allocations: 1.593 MB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.2293, allocations: 0.5511 MB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.2294, allocations: 0 / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2295, allocations: 7.875 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.2296, allocations: 15.88 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.2298, allocations: 43.88 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.23, allocations: 79.7 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.2302, allocations: 48.14 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.2303, allocations: 27.92 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.2304, allocations: 43.77 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2304, allocations: 8 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.2304, allocations: 15.94 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.2305, allocations: 27.91 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.2306, allocations: 43.8 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2307, allocations: 91.58 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2307, allocations: 0 / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2307, allocations: 0 / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2308, allocations: 0 / 0.7873 GB, free: 0.5391 MB / 0.6544 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.0005442/0.2313, allocations: 403.1 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2313, allocations: 8.031 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.2314, allocations: 12.75 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3996/0.631, allocations: 187.5 kB / 0.7879 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.6311, allocations: 7.531 kB / 0.7879 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6311, allocations: 3.562 kB / 0.7879 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.6315, allocations: 111.4 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6315, allocations: 0 / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.6315, allocations: 3.156 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6315, allocations: 0.5156 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.6318, allocations: 101.6 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.6323, allocations: 384.2 kB / 0.7885 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.6325, allocations: 60.3 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.6326, allocations: 55.17 kB / 0.7886 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.6326, allocations: 7.359 kB / 0.7886 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.6327, allocations: 30.56 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.6327, allocations: 0 / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004582/0.6331, allocations: 160.5 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.6332, allocations: 51.41 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.6333, allocations: 136.6 kB / 0.789 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.6333, allocations: 27.86 kB / 0.789 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.6333, allocations: 107.4 kB / 0.7891 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.6334, allocations: 14.41 kB / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.6334, allocations: 23.17 kB / 0.7891 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.6335, allocations: 325.6 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6336, allocations: 40.23 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.6337, allocations: 36.91 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.6339, allocations: 97.39 kB / 0.7896 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6339, allocations: 0 / 0.7896 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002406/0.6341, allocations: 130.9 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6342, allocations: 6.062 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6342, allocations: 0 / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6342, allocations: 5.469 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.6343, allocations: 14.02 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.6344, allocations: 2.5 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.6344, allocations: 12.75 kB / 0.7898 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.6345, allocations: 6.266 kB / 0.7898 GB, free: 47.82 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.6345, allocations: 118 kB / 0.7899 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.6346, allocations: 14.62 kB / 0.7899 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.6349, allocations: 140.9 kB / 0.79 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6349, allocations: 2.906 kB / 0.79 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6349, allocations: 2.625 kB / 0.79 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6349, allocations: 0.75 kB / 0.79 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.6351, allocations: 212 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6351, allocations: 4.453 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.6352, allocations: 16.91 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6352, allocations: 1.219 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6352, allocations: 3.125 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6352, allocations: 0.5312 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6352, allocations: 4.188 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.6355, allocations: 227.3 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.6356, allocations: 84.16 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.6356, allocations: 2.938 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.6357, allocations: 12.95 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.6357, allocations: 1.844 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.6357, allocations: 7.094 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.6358, allocations: 104.4 kB / 0.7907 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6358, allocations: 3 kB / 0.7907 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002383/0.636, allocations: 20.77 kB / 0.7907 GB, free: 47.15 MB / 0.6544 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 (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.0001376/0.6362, allocations: 105 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.6365, allocations: 97.11 kB / 0.7909 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6365, allocations: 0 / 0.7909 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.6366, allocations: 61.83 kB / 0.791 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.6368, allocations: 2.031 kB / 0.791 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.6373, allocations: 246.9 kB / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.6375, allocations: 0.6974 MB / 0.7919 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.6375, allocations: 16.27 kB / 0.7919 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6375, allocations: 2.406 kB / 0.7919 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.002652/0.6402, allocations: 1.11 MB / 0.793 GB, free: 46.18 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)