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.5448/0.5448, allocations: 94.69 MB / 107.2 MB, free: 5.172 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.001087/0.001087, allocations: 180.6 kB / 130.7 MB, free: 7.531 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.65/1.65, allocations: 170.5 MB / 324.5 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001734/0.001734, allocations: 105.6 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.707e-05/4.752e-05, allocations: 7.984 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4777, allocations: 61.51 MB / 0.5054 GB, free: 49.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.6147, allocations: 94.45 MB / 0.5976 GB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.615, allocations: 83.27 kB / 0.5977 GB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005097/0.6201, allocations: 1.678 MB / 0.5993 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.6201, allocations: 0 / 0.5993 GB, free: 15.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.6201, allocations: 4 kB / 0.5993 GB, free: 15.42 MB / 426.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.0004673/0.6206, allocations: 386.8 kB / 0.5997 GB, free: 15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.6207, allocations: 8.031 kB / 0.5997 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.6207, allocations: 19.25 kB / 0.5997 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.621, allocations: 197.5 kB / 0.5999 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.621, allocations: 8.516 kB / 0.5999 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.621, allocations: 7.953 kB / 0.5999 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.6212, allocations: 94.41 kB / 0.6 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.6213, allocations: 3.781 kB / 0.6 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.6213, allocations: 6.203 kB / 0.6 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6213, allocations: 5.75 kB / 0.6 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.6214, allocations: 59.97 kB / 0.6001 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.6221, allocations: 394.7 kB / 0.6005 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.6222, allocations: 38.58 kB / 0.6005 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.6222, allocations: 39.94 kB / 0.6005 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.6223, allocations: 4 kB / 0.6005 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.6223, allocations: 30.56 kB / 0.6006 GB, free: 14.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.6223, allocations: 0 / 0.6006 GB, free: 14.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002605/0.6226, allocations: 101.5 kB / 0.6007 GB, free: 13.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6226, allocations: 51.41 kB / 0.6007 GB, free: 13.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.6228, allocations: 130.2 kB / 0.6008 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.6228, allocations: 27.05 kB / 0.6009 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.6229, allocations: 100 kB / 0.601 GB, free: 13.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6229, allocations: 24.45 kB / 0.601 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.6229, allocations: 1 kB / 0.601 GB, free: 13.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6231, allocations: 326.8 kB / 0.6013 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.6231, allocations: 28.95 kB / 0.6013 GB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.6232, allocations: 20 kB / 0.6014 GB, free: 13.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.6232, allocations: 34.67 kB / 0.6014 GB, free: 13.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6232, allocations: 0 / 0.6014 GB, free: 13.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001524/0.6234, allocations: 98.69 kB / 0.6015 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6234, allocations: 8 kB / 0.6015 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6234, allocations: 0 / 0.6015 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6235, allocations: 0 / 0.6015 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.6236, allocations: 23.92 kB / 0.6015 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6236, allocations: 0 / 0.6015 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.6237, allocations: 15.98 kB / 0.6015 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.6238, allocations: 4 kB / 0.6015 GB, free: 12.99 MB / 426.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 7.497e-05/0.6238, allocations: 117.8 kB / 0.6016 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.6239, allocations: 7.906 kB / 0.6016 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.6241, allocations: 114.2 kB / 0.6018 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6241, allocations: 3.938 kB / 0.6018 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6241, allocations: 2.906 kB / 0.6018 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6242, allocations: 0 / 0.6018 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.6244, allocations: 213.5 kB / 0.602 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6244, allocations: 10.23 kB / 0.602 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.6245, allocations: 23.98 kB / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6245, allocations: 2.438 kB / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.6245, allocations: 0 / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6245, allocations: 0 / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6245, allocations: 0 / 0.602 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.6248, allocations: 203.4 kB / 0.6022 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6249, allocations: 96.94 kB / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.6249, allocations: 0 / 0.6023 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.625, allocations: 15.98 kB / 0.6023 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.6251, allocations: 7.938 kB / 0.6023 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6251, allocations: 3.984 kB / 0.6023 GB, free: 12.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.507e-05/0.6252, allocations: 112.5 kB / 0.6024 GB, free: 11.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6252, allocations: 0 / 0.6024 GB, free: 11.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.6254, allocations: 16 kB / 0.6024 GB, free: 11.97 MB / 426.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.0001523/0.6256, allocations: 107.2 kB / 0.6025 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.6257, allocations: 75.22 kB / 0.6026 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6257, allocations: 0 / 0.6026 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.6258, allocations: 43.92 kB / 0.6027 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.626, allocations: 11.42 kB / 0.6027 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.6264, allocations: 138.3 kB / 0.6028 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6267, allocations: 0.7121 MB / 0.6035 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.6268, allocations: 11.98 kB / 0.6035 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.6268, allocations: 15.42 kB / 0.6035 GB, free: 10.83 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.6268, allocations: 0 / 0.6035 GB, free: 10.83 MB / 426.7 MB Notification: Performance of Templates: time 0.002777/0.6296, allocations: 0.5902 MB / 0.6041 GB, free: 10.27 MB / 426.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)