Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 293 MB / 309 MB, free: 4.781 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.0008897/0.0008897, allocations: 176.6 kB / 378.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 0.6383 GB, free: 9.078 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006964/0.0006965, allocations: 94.25 kB / 0.7527 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003771, allocations: 15.98 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 116.4 MB / 0.9904 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5792/0.806, allocations: 139.9 MB / 1.127 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.8063, allocations: 79.86 kB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004623/0.8109, allocations: 1.703 MB / 1.129 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.324e-06/0.811, allocations: 4 kB / 1.129 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.811, allocations: 0 / 1.129 GB, free: 32.83 MB / 0.7292 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.0004565/0.8115, allocations: 394.7 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.8115, allocations: 13.78 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.8116, allocations: 8.844 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.8118, allocations: 202.8 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.8118, allocations: 8.375 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.8118, allocations: 13.44 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.8121, allocations: 117.4 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8121, allocations: 192 / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.8121, allocations: 8.5 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8121, allocations: 0 / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.8124, allocations: 101.8 kB / 1.13 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.8129, allocations: 389.9 kB / 1.13 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.813, allocations: 60.89 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.8132, allocations: 56.02 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.8132, allocations: 8.781 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.8132, allocations: 35.31 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.8132, allocations: 0 / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000438/0.8137, allocations: 181.3 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.8137, allocations: 55.41 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.8138, allocations: 132.5 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.8138, allocations: 29.7 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.8139, allocations: 103.5 kB / 1.131 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.8139, allocations: 27.36 kB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.8139, allocations: 0 / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.814, allocations: 318.4 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/0.8141, allocations: 43.69 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-05/0.8142, allocations: 43.22 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.8144, allocations: 102.3 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8144, allocations: 4 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002312/0.8146, allocations: 131.3 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8146, allocations: 4 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8147, allocations: 0.6562 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8147, allocations: 4 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.8148, allocations: 26.84 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8148, allocations: 3.938 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.8149, allocations: 12.5 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.8149, allocations: 7.375 kB / 1.131 GB, free: 30.25 MB / 0.7292 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 6.795e-05/0.815, allocations: 121.8 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.815, allocations: 8.469 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.8154, allocations: 158.4 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8154, allocations: 0 / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8154, allocations: 3.938 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8154, allocations: 4.609 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.8156, allocations: 202 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8156, allocations: 1.219 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.8157, allocations: 20.19 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.8157, allocations: 4 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.8157, allocations: 7.828 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.8157, allocations: 3.938 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8157, allocations: 3.938 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.816, allocations: 225.5 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.816, allocations: 93.78 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.816, allocations: 7.938 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.8161, allocations: 16.33 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.8162, allocations: 7.938 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.8162, allocations: 7.469 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.8163, allocations: 98.66 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8163, allocations: 0 / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002202/0.8165, allocations: 19.91 kB / 1.132 GB, free: 29.25 MB / 0.7292 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.0001349/0.8166, allocations: 107.3 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.8169, allocations: 112.9 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8169, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.817, allocations: 59.42 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.8173, allocations: 7.469 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.8177, allocations: 243.9 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.8179, allocations: 0.707 MB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.884e-05/0.8179, allocations: 11.98 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.818, allocations: 14.81 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.818, allocations: 0 / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.002587/0.8206, allocations: 0.5936 MB / 1.134 GB, free: 27.68 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)