Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.804/2.804, allocations: 287.5 MB / 302.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001262, allocations: 182.8 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009482/0.0009475, allocations: 98.33 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004961, allocations: 13.2 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001966/0.2322, allocations: 1.292 MB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2334, allocations: 0.5095 MB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.2335, allocations: 8 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.658e-05/0.2337, allocations: 11.86 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.2337, allocations: 3.938 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.234, allocations: 39.89 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.2341, allocations: 63.78 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2343, allocations: 36.2 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2344, allocations: 27.86 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.2345, allocations: 31.84 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2346, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.2347, allocations: 7.984 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.2347, allocations: 15.94 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.2347, allocations: 45.62 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2349, allocations: 60.11 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2349, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.576e-06/0.2349, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2349, allocations: 7.938 kB / 0.9805 GB, free: 26.15 MB / 0.6198 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.000584/0.2355, allocations: 387 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2356, allocations: 12.02 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.2356, allocations: 15.91 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.2358, allocations: 190.8 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2358, allocations: 8 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.2359, allocations: 4 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.2363, allocations: 119.7 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2363, allocations: 0 / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.2363, allocations: 4 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2363, allocations: 4 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.2367, allocations: 103.9 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.2375, allocations: 392.5 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.2377, allocations: 66.55 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2379, allocations: 56.95 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.238, allocations: 7.953 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.238, allocations: 34.5 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.065e-06/0.238, allocations: 0 / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007458/0.2388, allocations: 185.5 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2389, allocations: 59.39 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.239, allocations: 131.9 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.239, allocations: 25.7 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.2391, allocations: 100.2 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.2391, allocations: 27.72 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.2391, allocations: 0 / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.2392, allocations: 322.8 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2394, allocations: 47.97 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2396, allocations: 43.97 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.2398, allocations: 47.97 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2398, allocations: 4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004528/0.2403, allocations: 137.5 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2403, allocations: 7.953 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2403, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2403, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.2406, allocations: 28.41 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2406, allocations: 0 / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.2407, allocations: 11.98 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.2408, allocations: 8 kB / 0.9829 GB, free: 23.4 MB / 0.6198 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 0.0001026/0.2409, allocations: 117.8 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.241, allocations: 11.91 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.2415, allocations: 162.2 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2415, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2415, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2416, allocations: 3.984 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2418, allocations: 213.5 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2418, allocations: 0 / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.242, allocations: 23.98 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.242, allocations: 0 / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2421, allocations: 7.984 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.2421, allocations: 3.953 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2421, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.2426, allocations: 231.3 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.2427, allocations: 85 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.2427, allocations: 8 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.2429, allocations: 12 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.2429, allocations: 7.938 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.243, allocations: 4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.003e-05/0.243, allocations: 105.4 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.503e-06/0.2431, allocations: 3.938 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003324/0.2434, allocations: 19.94 kB / 0.9839 GB, free: 22.3 MB / 0.6198 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.0001534/0.2436, allocations: 99.25 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.244, allocations: 111.9 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.244, allocations: 0 / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.2442, allocations: 64.2 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2446, allocations: 4 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.2452, allocations: 237.3 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2453, allocations: 0.7044 MB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.2455, allocations: 19.97 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.2456, allocations: 7.438 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.613e-06/0.2456, allocations: 0 / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of Templates: time 0.003661/0.2492, allocations: 0.6071 MB / 0.9857 GB, free: 20.4 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)