Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003844/0.003843, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.423/1.423, allocations: 165.8 MB / 183.1 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.723/3.723, allocations: 410.7 MB / 0.6001 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002589/0.002589, allocations: 209.8 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004584, allocations: 15.98 kB / 0.7429 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4155, allocations: 67.44 MB / 0.8087 GB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.5928, allocations: 99.09 MB / 0.9055 GB, free: 9.605 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5932, allocations: 79.95 kB / 0.9056 GB, free: 9.527 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007686/0.6009, allocations: 1.696 MB / 0.9072 GB, free: 7.824 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6009, allocations: 0 / 0.9072 GB, free: 7.824 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.6009, allocations: 4 kB / 0.9072 GB, free: 7.82 MB / 458.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.0006246/0.6016, allocations: 398.9 kB / 0.9076 GB, free: 7.383 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6016, allocations: 11.97 kB / 0.9076 GB, free: 7.371 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.6017, allocations: 11.91 kB / 0.9076 GB, free: 7.359 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.6019, allocations: 201.6 kB / 0.9078 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.602, allocations: 8 kB / 0.9078 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.602, allocations: 4 kB / 0.9078 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.6024, allocations: 113.5 kB / 0.9079 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6024, allocations: 0 / 0.9079 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.6025, allocations: 8 kB / 0.908 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6025, allocations: 0 / 0.908 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.6029, allocations: 103.9 kB / 0.908 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.6038, allocations: 400.4 kB / 0.9084 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.6041, allocations: 69.55 kB / 0.9085 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.6043, allocations: 52.95 kB / 0.9085 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.6044, allocations: 7.922 kB / 0.9086 GB, free: 6.309 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.6044, allocations: 34.56 kB / 0.9086 GB, free: 6.266 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.6044, allocations: 0 / 0.9086 GB, free: 6.266 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007734/0.6052, allocations: 177.5 kB / 0.9088 GB, free: 6.086 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.6053, allocations: 51.41 kB / 0.9088 GB, free: 6.023 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.6054, allocations: 138 kB / 0.9089 GB, free: 5.875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.6055, allocations: 25.7 kB / 0.909 GB, free: 5.844 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.6055, allocations: 104.2 kB / 0.9091 GB, free: 5.738 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.6056, allocations: 11.89 kB / 0.9091 GB, free: 5.727 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.6056, allocations: 8 kB / 0.9091 GB, free: 5.719 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6058, allocations: 322.8 kB / 0.9094 GB, free: 5.395 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.606, allocations: 47.97 kB / 0.9094 GB, free: 5.348 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.6062, allocations: 43.91 kB / 0.9095 GB, free: 5.305 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.6064, allocations: 43.97 kB / 0.9095 GB, free: 5.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6065, allocations: 0 / 0.9095 GB, free: 5.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005112/0.607, allocations: 133.5 kB / 0.9096 GB, free: 5.125 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.607, allocations: 4 kB / 0.9097 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.607, allocations: 0 / 0.9097 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6071, allocations: 0 / 0.9097 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.6073, allocations: 31.97 kB / 0.9097 GB, free: 5.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6073, allocations: 0 / 0.9097 GB, free: 5.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.6075, allocations: 15.91 kB / 0.9097 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.6075, allocations: 7.984 kB / 0.9097 GB, free: 5.066 MB / 458.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 () * 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.0001304/0.6077, allocations: 121.7 kB / 0.9098 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.6077, allocations: 7.906 kB / 0.9098 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.6083, allocations: 158.3 kB / 0.91 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6083, allocations: 0.5 kB / 0.91 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6084, allocations: 0 / 0.91 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6084, allocations: 0 / 0.91 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.6087, allocations: 209.5 kB / 0.9102 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6087, allocations: 8 kB / 0.9102 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.6089, allocations: 23.97 kB / 0.9102 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6089, allocations: 0 / 0.9102 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.6089, allocations: 11.94 kB / 0.9102 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.609, allocations: 3.938 kB / 0.9102 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.609, allocations: 0 / 0.9102 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.6095, allocations: 231.3 kB / 0.9104 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.6096, allocations: 88.95 kB / 0.9105 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.6096, allocations: 4 kB / 0.9105 GB, free: 4.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.6098, allocations: 11.98 kB / 0.9105 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.6099, allocations: 11.98 kB / 0.9106 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.6099, allocations: 0 / 0.9106 GB, free: 4.094 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.61, allocations: 106.7 kB / 0.9107 GB, free: 3.992 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.61, allocations: 0 / 0.9107 GB, free: 3.992 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.6104, allocations: 16 kB / 0.9107 GB, free: 3.977 MB / 458.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 () * 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.0001549/0.6105, allocations: 99.23 kB / 0.9108 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004847/0.611, allocations: 115.9 kB / 0.9109 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.611, allocations: 0 / 0.9109 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.6113, allocations: 59.97 kB / 0.9109 GB, free: 3.699 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.6116, allocations: 7.953 kB / 0.9109 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.6122, allocations: 245 kB / 0.9112 GB, free: 3.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.6125, allocations: 0.716 MB / 0.9119 GB, free: 2.684 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.6127, allocations: 11.98 kB / 0.9119 GB, free: 2.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.6127, allocations: 7.438 kB / 0.9119 GB, free: 2.664 MB / 458.7 MB Notification: Performance of SimCode: time 3.526e-06/0.6127, allocations: 0 / 0.9119 GB, free: 2.664 MB / 458.7 MB Notification: Performance of Templates: time 0.003648/0.6164, allocations: 0.6055 MB / 0.9125 GB, free: 2.062 MB / 458.7 MB