Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 173 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000836/0.000836, allocations: 77.83 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 10.16 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00168/0.2259, allocations: 1.316 MB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.2268, allocations: 0.543 MB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.2268, allocations: 0 / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.811e-05/0.2269, allocations: 7.938 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.227, allocations: 11.86 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.2272, allocations: 39.97 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.2273, allocations: 71.77 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2274, allocations: 36.22 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.2275, allocations: 31.84 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.2276, allocations: 31.84 kB / 0.9035 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2276, allocations: 0 / 0.9035 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.2277, allocations: 15.94 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.2278, allocations: 15.91 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.2278, allocations: 61.44 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2279, allocations: 55.89 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2279, allocations: 0 / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2279, allocations: 0 / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.228, allocations: 4 kB / 0.9036 GB, free: 61.26 MB / 0.6042 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.0004557/0.2284, allocations: 395.4 kB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2285, allocations: 8.031 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.2285, allocations: 16.75 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2287, allocations: 188.2 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2287, allocations: 4.375 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2287, allocations: 12.38 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.229, allocations: 123.2 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.229, allocations: 0 / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.229, allocations: 4 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.229, allocations: 0 / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.2292, allocations: 107.9 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.2298, allocations: 388.6 kB / 0.9048 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2299, allocations: 66.55 kB / 0.9049 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.23, allocations: 52.95 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.2301, allocations: 4 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2301, allocations: 38.5 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.2301, allocations: 0 / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004303/0.2305, allocations: 189.4 kB / 0.9052 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.2306, allocations: 51.41 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.2306, allocations: 137.8 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2307, allocations: 25.7 kB / 0.9054 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.2307, allocations: 112 kB / 0.9055 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2307, allocations: 19.75 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.2308, allocations: 0 / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.2308, allocations: 318.8 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.2309, allocations: 43.97 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.231, allocations: 47.97 kB / 0.9059 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.2312, allocations: 105.2 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2312, allocations: 0 / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002387/0.2315, allocations: 141.5 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2315, allocations: 4 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2315, allocations: 0 / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2315, allocations: 4 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2317, allocations: 31.86 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2317, allocations: 3.984 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.2318, allocations: 8 kB / 0.9062 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2318, allocations: 7.984 kB / 0.9062 GB, free: 58.44 MB / 0.6042 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.899e-05/0.2319, allocations: 125.8 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2319, allocations: 7.906 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.2322, allocations: 154.3 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2322, allocations: 3.938 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.2322, allocations: 0 / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2323, allocations: 0 / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2324, allocations: 221.5 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2324, allocations: 0 / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2325, allocations: 19.98 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2325, allocations: 0 / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2326, allocations: 0 / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2326, allocations: 7.922 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2326, allocations: 0 / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.2329, allocations: 235.5 kB / 0.9069 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.2329, allocations: 89.06 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2329, allocations: 4 kB / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.233, allocations: 15.94 kB / 0.907 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2331, allocations: 7.984 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2331, allocations: 8 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.2331, allocations: 102.1 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2331, allocations: 3.938 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002088/0.2334, allocations: 19.94 kB / 0.9072 GB, free: 57.34 MB / 0.6042 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.0001252/0.2335, allocations: 99.25 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2338, allocations: 111.9 kB / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2338, allocations: 0 / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2339, allocations: 63.95 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2341, allocations: 10.41 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.2345, allocations: 278.8 kB / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2346, allocations: 0.7004 MB / 0.9084 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.2347, allocations: 15.42 kB / 0.9084 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2347, allocations: 0 / 0.9084 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.002222/0.2369, allocations: 1.095 MB / 0.9095 GB, free: 54.91 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)