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: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001977/0.001977, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001957/0.001957, allocations: 195 kB / 16.14 MB, free: 6.648 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 287.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 104.5 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2029, allocations: 89.16 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003349/0.2063, allocations: 1.656 MB / 0.6944 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2074, allocations: 0.5112 MB / 0.6949 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.2074, allocations: 4 kB / 0.6949 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.2076, allocations: 7.938 kB / 0.6949 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.2077, allocations: 11.86 kB / 0.6949 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2079, allocations: 27.97 kB / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.208, allocations: 79.77 kB / 0.695 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.2082, allocations: 36.22 kB / 0.6951 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.2083, allocations: 31.84 kB / 0.6951 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.2084, allocations: 35.84 kB / 0.6951 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.2084, allocations: 4 kB / 0.6951 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.2085, allocations: 19.92 kB / 0.6952 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.2085, allocations: 19.92 kB / 0.6952 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.2086, allocations: 47.72 kB / 0.6952 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2088, allocations: 91.92 kB / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2088, allocations: 0 / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2088, allocations: 0 / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2088, allocations: 0 / 0.6953 GB, free: 2.23 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.0006655/0.2095, allocations: 399.1 kB / 0.6957 GB, free: 1.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2095, allocations: 12.03 kB / 0.6957 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.2096, allocations: 8.844 kB / 0.6957 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.2098, allocations: 184.2 kB / 0.6959 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2098, allocations: 8.375 kB / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2098, allocations: 8.375 kB / 0.6959 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.2101, allocations: 109.9 kB / 0.696 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2102, allocations: 7.938 kB / 0.696 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2102, allocations: 4 kB / 0.696 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2102, allocations: 0 / 0.696 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.2104, allocations: 95.92 kB / 0.6961 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.2111, allocations: 388.4 kB / 0.6965 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2113, allocations: 54.55 kB / 0.6965 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.2114, allocations: 56.94 kB / 0.6966 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.2115, allocations: 4 kB / 0.6966 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2115, allocations: 34.55 kB / 0.6966 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.2115, allocations: 0 / 0.6966 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004944/0.212, allocations: 169.5 kB / 0.6968 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2121, allocations: 55.41 kB / 0.6968 GB, free: 496 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2122, allocations: 136.8 kB / 0.697 GB, free: 352 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2122, allocations: 29.7 kB / 0.697 GB, free: 316 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.2123, allocations: 104.2 kB / 0.6971 GB, free: 208 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2124, allocations: 19.66 kB / 0.6971 GB, free: 188 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.2124, allocations: 21.7 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2126, allocations: 318.8 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2127, allocations: 43.97 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2128, allocations: 35.97 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.2131, allocations: 88.8 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2131, allocations: 0 / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002838/0.2134, allocations: 126 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2134, allocations: 8 kB / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2134, allocations: 4 kB / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2134, allocations: 0 / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2136, allocations: 23.92 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2136, allocations: 3.984 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.2137, allocations: 11.91 kB / 0.6978 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2137, allocations: 0 / 0.6978 GB, free: 15.49 MB / 0.4981 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 0.0001203/0.2138, allocations: 125.8 kB / 0.6979 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.2139, allocations: 7.906 kB / 0.6979 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.2142, allocations: 142.3 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2143, allocations: 3.938 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.2143, allocations: 4 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2143, allocations: 0 / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2145, allocations: 209.5 kB / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2146, allocations: 0 / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2147, allocations: 19.98 kB / 0.6983 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2147, allocations: 0 / 0.6983 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2147, allocations: 3.984 kB / 0.6983 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2147, allocations: 7.938 kB / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2147, allocations: 0 / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2151, allocations: 219.3 kB / 0.6985 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.2152, allocations: 93 kB / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.2152, allocations: 0 / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2153, allocations: 7.938 kB / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.2153, allocations: 11.98 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2154, allocations: 4 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.2155, allocations: 105.9 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2155, allocations: 0 / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.2157, allocations: 12 kB / 0.6987 GB, free: 14.43 MB / 0.4981 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.0001726/0.2159, allocations: 103.2 kB / 0.6988 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.2162, allocations: 104 kB / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2162, allocations: 3.938 kB / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.2164, allocations: 51.95 kB / 0.699 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2166, allocations: 9.688 kB / 0.699 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.2171, allocations: 248.7 kB / 0.6992 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.2175, allocations: 0.7043 MB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.2177, allocations: 23.95 kB / 0.6999 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.2177, allocations: 15.44 kB / 0.6999 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2177, allocations: 0 / 0.6999 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.003141/0.2209, allocations: 0.6234 MB / 0.7005 GB, free: 12.5 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)