Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5578/0.5578, allocations: 94.76 MB / 102.2 MB, free: 14.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001277/0.001277, allocations: 172.1 kB / 125.6 MB, free: 7.938 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.679/1.679, allocations: 170.6 MB / 319.4 MB, free: 1.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002075/0.002075, allocations: 118.5 kB / 381.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.765e-05, allocations: 4 kB / 449.1 MB, free: 44.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 61.52 MB / 0.4986 GB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.6165, allocations: 94.16 MB / 0.5906 GB, free: 2.379 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.6169, allocations: 73.14 kB / 0.5907 GB, free: 2.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00509/0.622, allocations: 1.673 MB / 0.5923 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.622, allocations: 0 / 0.5923 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.622, allocations: 4 kB / 0.5923 GB, free: 0.875 MB / 394.7 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.0004641/0.6225, allocations: 381.9 kB / 0.5927 GB, free: 476 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6226, allocations: 8.031 kB / 0.5927 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.6226, allocations: 11.81 kB / 0.5927 GB, free: 456 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.6229, allocations: 203.9 kB / 0.5929 GB, free: 216 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6229, allocations: 4 kB / 0.5929 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.6229, allocations: 11.89 kB / 0.5929 GB, free: 200 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001593/0.6231, allocations: 60.23 kB / 0.593 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.6232, allocations: 88.14 kB / 0.593 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.6233, allocations: 0 / 0.593 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6233, allocations: 0 / 0.593 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6233, allocations: 0 / 0.593 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.6239, allocations: 356.3 kB / 0.5934 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.624, allocations: 45.17 kB / 0.5934 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.624, allocations: 31.28 kB / 0.5935 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.6241, allocations: 11.98 kB / 0.5935 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6241, allocations: 33.25 kB / 0.5935 GB, free: 15.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6241, allocations: 0 / 0.5935 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003066/0.6245, allocations: 96.33 kB / 0.5936 GB, free: 15.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.6245, allocations: 59.39 kB / 0.5936 GB, free: 15.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.6246, allocations: 123.4 kB / 0.5938 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6246, allocations: 29.7 kB / 0.5938 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.6247, allocations: 104.9 kB / 0.5939 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.6247, allocations: 22.78 kB / 0.5939 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.6247, allocations: 0 / 0.5939 GB, free: 15.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6249, allocations: 326.3 kB / 0.5942 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.625, allocations: 20.81 kB / 0.5942 GB, free: 14.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.625, allocations: 22.8 kB / 0.5943 GB, free: 14.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.6251, allocations: 28.86 kB / 0.5943 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6251, allocations: 0.75 kB / 0.5943 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001564/0.6252, allocations: 94.31 kB / 0.5944 GB, free: 14.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6253, allocations: 4 kB / 0.5944 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6253, allocations: 0 / 0.5944 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.6253, allocations: 8 kB / 0.5944 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.6255, allocations: 23.92 kB / 0.5944 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.6255, allocations: 0 / 0.5944 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.6256, allocations: 18.92 kB / 0.5944 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.6256, allocations: 7.938 kB / 0.5944 GB, free: 14.68 MB / 410.7 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 () * 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 8.352e-05/0.6257, allocations: 104.9 kB / 0.5945 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.6257, allocations: 11.91 kB / 0.5946 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.626, allocations: 111.5 kB / 0.5947 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.626, allocations: 0 / 0.5947 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.626, allocations: 3.938 kB / 0.5947 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.626, allocations: 0 / 0.5947 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.6262, allocations: 186.3 kB / 0.5948 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6262, allocations: 0 / 0.5948 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.6263, allocations: 23.97 kB / 0.5949 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6263, allocations: 4 kB / 0.5949 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6264, allocations: 0 / 0.5949 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6264, allocations: 0 / 0.5949 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6264, allocations: 4 kB / 0.5949 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.6266, allocations: 193 kB / 0.5951 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.6267, allocations: 100.3 kB / 0.5952 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.6267, allocations: 0 / 0.5952 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6268, allocations: 18.89 kB / 0.5952 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.6269, allocations: 7.984 kB / 0.5952 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.6269, allocations: 3.984 kB / 0.5952 GB, free: 13.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.627, allocations: 102.1 kB / 0.5953 GB, free: 13.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.627, allocations: 3.938 kB / 0.5953 GB, free: 13.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.6272, allocations: 19.92 kB / 0.5953 GB, free: 13.79 MB / 410.7 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 () * 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.0001665/0.6274, allocations: 99.25 kB / 0.5954 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.6276, allocations: 73.84 kB / 0.5955 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6276, allocations: 4 kB / 0.5955 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.6276, allocations: 42.92 kB / 0.5955 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.6278, allocations: 7.984 kB / 0.5955 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.6282, allocations: 134.5 kB / 0.5957 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.6285, allocations: 0.7074 MB / 0.5963 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.819e-05/0.6286, allocations: 15.98 kB / 0.5964 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.6286, allocations: 15.38 kB / 0.5964 GB, free: 12.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6286, allocations: 0 / 0.5964 GB, free: 12.68 MB / 410.7 MB Notification: Performance of Templates: time 0.002553/0.6312, allocations: 0.5567 MB / 0.5969 GB, free: 12.14 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)