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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.0009674/0.0009678, allocations: 172.9 kB / 366.7 MB, free: 1.684 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.505/1.505, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0007558/0.0007558, allocations: 90.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.608e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5448, allocations: 116.3 MB / 0.9732 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.7063, allocations: 139 MB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.7066, allocations: 72.64 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004836/0.7115, allocations: 1.688 MB / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7115, allocations: 0 / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.7115, allocations: 4.688 kB / 1.111 GB, free: 9.441 MB / 0.7136 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.0003884/0.7119, allocations: 383.7 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.712, allocations: 8.875 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.712, allocations: 11.81 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.7122, allocations: 197 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.7122, allocations: 2.953 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.7122, allocations: 4 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/0.7124, allocations: 67.09 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.7125, allocations: 87.75 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7125, allocations: 4 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7125, allocations: 0 / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7126, allocations: 3.984 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.7131, allocations: 356.6 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.7132, allocations: 42.56 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.7132, allocations: 32.98 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.7133, allocations: 9.828 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.7133, allocations: 30.56 kB / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.7133, allocations: 0 / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002269/0.7135, allocations: 102.1 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.7136, allocations: 52.09 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.7137, allocations: 117.2 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.7137, allocations: 25.7 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.7137, allocations: 104.2 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.7138, allocations: 19.8 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.7138, allocations: 4 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7139, allocations: 322.8 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.7139, allocations: 23.98 kB / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.714, allocations: 20 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.7141, allocations: 33.19 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7141, allocations: 0 / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001499/0.7142, allocations: 96.64 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7142, allocations: 6.188 kB / 1.113 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7142, allocations: 3.938 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.7143, allocations: 0 / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.7144, allocations: 31.91 kB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.7144, allocations: 11.08 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.7145, allocations: 8 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.7145, allocations: 3.984 kB / 1.113 GB, free: 7.09 MB / 0.7136 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 () * 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.992e-05/0.7146, allocations: 105 kB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.7146, allocations: 7.906 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.7149, allocations: 114.3 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7149, allocations: 3.188 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7149, allocations: 0 / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7149, allocations: 3.953 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.7151, allocations: 186.1 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7151, allocations: 0 / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.7152, allocations: 23.92 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7152, allocations: 0 / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7152, allocations: 8 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7152, allocations: 3.25 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7152, allocations: 0 / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.7154, allocations: 193.9 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.7155, allocations: 85.02 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.7155, allocations: 0 / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.7156, allocations: 11.98 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.7156, allocations: 11.98 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.7157, allocations: 4 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.7157, allocations: 99.27 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7157, allocations: 0 / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002211/0.7159, allocations: 19.91 kB / 1.114 GB, free: 6.148 MB / 0.7136 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 () * 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.0001176/0.7161, allocations: 99.19 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.7162, allocations: 75.97 kB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7162, allocations: 0 / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.7163, allocations: 39.98 kB / 1.114 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.7164, allocations: 7.953 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.7167, allocations: 138.7 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.7169, allocations: 0.708 MB / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.717, allocations: 12.78 kB / 1.115 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.7171, allocations: 11.44 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7171, allocations: 4 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.002111/0.7192, allocations: 0.5596 MB / 1.115 GB, free: 4.477 MB / 0.7136 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)