Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.855/4.855, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002551/0.002551, allocations: 352.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.326/4.326, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001794/0.001794, allocations: 184 kB / 1.226 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005053, allocations: 13.41 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2095, allocations: 115.3 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9595/1.169, allocations: 138.6 MB / 1.597 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.169, allocations: 78.52 kB / 1.597 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.007022/1.176, allocations: 1.701 MB / 1.598 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.874e-06/1.176, allocations: 0 / 1.598 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.176, allocations: 2.406 kB / 1.598 GB, free: 1.562 MB / 0.6667 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.000658/1.177, allocations: 402.2 kB / 1.599 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.177, allocations: 15.97 kB / 1.599 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/1.177, allocations: 7.906 kB / 1.599 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/1.178, allocations: 196.3 kB / 1.599 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/1.178, allocations: 7.375 kB / 1.599 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/1.178, allocations: 4 kB / 1.599 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/1.178, allocations: 122.6 kB / 1.599 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.178, allocations: 0 / 1.599 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/1.178, allocations: 0 / 1.599 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.178, allocations: 0 / 1.599 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/1.178, allocations: 107.9 kB / 1.599 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/1.179, allocations: 389.2 kB / 1.6 GB, free: 292 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/1.18, allocations: 62.92 kB / 1.6 GB, free: 232 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.18, allocations: 56.89 kB / 1.6 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/1.18, allocations: 7.953 kB / 1.6 GB, free: 176 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.18, allocations: 33.69 kB / 1.6 GB, free: 136 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/1.18, allocations: 0 / 1.6 GB, free: 136 kB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.0008319/1.181, allocations: 182.2 kB / 1.6 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/1.181, allocations: 58.2 kB / 1.6 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/1.181, allocations: 130.6 kB / 1.6 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/1.181, allocations: 29.64 kB / 1.6 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/1.181, allocations: 104.7 kB / 1.6 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/1.181, allocations: 27.11 kB / 1.6 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/1.181, allocations: 0 / 1.6 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.181, allocations: 321.7 kB / 1.601 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/1.182, allocations: 41.41 kB / 1.601 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/1.182, allocations: 46.47 kB / 1.601 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/1.182, allocations: 41.78 kB / 1.601 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.182, allocations: 4 kB / 1.601 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000506/1.182, allocations: 133.5 kB / 1.601 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.183, allocations: 11.95 kB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.183, allocations: 0 / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.183, allocations: 0 / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/1.183, allocations: 27.41 kB / 1.601 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.183, allocations: 0 / 1.601 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/1.183, allocations: 12 kB / 1.601 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/1.183, allocations: 7.984 kB / 1.601 GB, free: 15.03 MB / 0.6823 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.0001298/1.183, allocations: 113.2 kB / 1.601 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/1.183, allocations: 8.344 kB / 1.601 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/1.184, allocations: 169.6 kB / 1.601 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.184, allocations: 3.984 kB / 1.601 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.184, allocations: 0 / 1.601 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.184, allocations: 4 kB / 1.601 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/1.184, allocations: 209.8 kB / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.184, allocations: 0 / 1.601 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.184, allocations: 27.97 kB / 1.601 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.184, allocations: 4 kB / 1.601 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.184, allocations: 0 / 1.601 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.184, allocations: 3.953 kB / 1.601 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.184, allocations: 0 / 1.601 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/1.185, allocations: 234.8 kB / 1.602 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/1.185, allocations: 88.95 kB / 1.602 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/1.185, allocations: 0 / 1.602 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/1.185, allocations: 11.98 kB / 1.602 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/1.185, allocations: 15.38 kB / 1.602 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.185, allocations: 4 kB / 1.602 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.228e-05/1.186, allocations: 105.5 kB / 1.602 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/1.186, allocations: 4 kB / 1.602 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003113/1.186, allocations: 16 kB / 1.602 GB, free: 14.02 MB / 0.6823 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.0001681/1.186, allocations: 99.77 kB / 1.602 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004975/1.187, allocations: 115.5 kB / 1.602 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.187, allocations: 0 / 1.602 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/1.187, allocations: 54.22 kB / 1.602 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/1.187, allocations: 7.375 kB / 1.602 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/1.188, allocations: 239.5 kB / 1.602 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/1.188, allocations: 0.7076 MB / 1.603 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001197/1.188, allocations: 16.36 kB / 1.603 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/1.188, allocations: 11.44 kB / 1.603 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of SimCode: time 9.71e-07/1.188, allocations: 0 / 1.603 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.003775/1.192, allocations: 0.6023 MB / 1.604 GB, free: 12.18 MB / 0.6823 GB