Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003995/0.003994, 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.663/1.663, allocations: 165.8 MB / 183.1 MB, free: 5.453 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.781/3.781, allocations: 410.7 MB / 0.6001 GB, free: 15.16 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.00171/0.00171, allocations: 189.5 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006149/0.0006151, allocations: 16 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4063, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5735, allocations: 98.29 MB / 0.9047 GB, free: 10.36 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5738, allocations: 71.95 kB / 0.9048 GB, free: 10.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004638/0.5785, allocations: 1.092 MB / 0.9058 GB, free: 9.199 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5785, allocations: 0 / 0.9058 GB, free: 9.199 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.5785, allocations: 4 kB / 0.9058 GB, free: 9.195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006151/0.5791, allocations: 379.1 kB / 0.9062 GB, free: 8.777 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5792, allocations: 8.031 kB / 0.9062 GB, free: 8.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.5793, allocations: 7.906 kB / 0.9062 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.5794, allocations: 175 kB / 0.9064 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5794, allocations: 3.938 kB / 0.9064 GB, free: 8.547 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.5795, allocations: 0 / 0.9064 GB, free: 8.547 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.5799, allocations: 85.64 kB / 0.9065 GB, free: 8.457 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5799, allocations: 0 / 0.9065 GB, free: 8.457 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.5799, allocations: 11.95 kB / 0.9065 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.58, allocations: 0 / 0.9065 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.5805, allocations: 99.91 kB / 0.9066 GB, free: 8.348 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.5813, allocations: 316.8 kB / 0.9069 GB, free: 7.988 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.5817, allocations: 86.45 kB / 0.907 GB, free: 7.895 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.582, allocations: 56.91 kB / 0.907 GB, free: 7.836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.5823, allocations: 113 kB / 0.9071 GB, free: 7.707 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5823, allocations: 34.56 kB / 0.9072 GB, free: 7.664 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.5824, allocations: 0 / 0.9072 GB, free: 7.664 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.001014/0.5834, allocations: 181.6 kB / 0.9073 GB, free: 7.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5834, allocations: 59.33 kB / 0.9074 GB, free: 7.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.5836, allocations: 125.8 kB / 0.9075 GB, free: 7.277 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5836, allocations: 29.7 kB / 0.9075 GB, free: 7.242 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.5837, allocations: 96.03 kB / 0.9076 GB, free: 7.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.5837, allocations: 11.84 kB / 0.9076 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.5838, allocations: 4 kB / 0.9076 GB, free: 7.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5839, allocations: 321.8 kB / 0.908 GB, free: 6.809 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.5842, allocations: 43.97 kB / 0.908 GB, free: 6.766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.5845, allocations: 51.95 kB / 0.908 GB, free: 6.715 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5848, allocations: 47.95 kB / 0.9081 GB, free: 6.668 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5848, allocations: 4 kB / 0.9081 GB, free: 6.664 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006475/0.5855, allocations: 137.8 kB / 0.9082 GB, free: 6.523 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5855, allocations: 7.953 kB / 0.9082 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5855, allocations: 0 / 0.9082 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5856, allocations: 48 / 0.9082 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.5858, allocations: 31.89 kB / 0.9083 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5858, allocations: 3.984 kB / 0.9083 GB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.586, allocations: 23.98 kB / 0.9083 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.5861, allocations: 4 kB / 0.9083 GB, free: 6.453 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 (3): * Single equations (assignments): 3 * 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.0001051/0.5862, allocations: 113.8 kB / 0.9084 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.5862, allocations: 0 / 0.9084 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.5869, allocations: 157.4 kB / 0.9086 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.587, allocations: 0 / 0.9086 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.587, allocations: 0 / 0.9086 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.587, allocations: 0 / 0.9086 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.5873, allocations: 185.6 kB / 0.9087 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5873, allocations: 4 kB / 0.9087 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.5875, allocations: 27.91 kB / 0.9088 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5875, allocations: 4 kB / 0.9088 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5875, allocations: 0 / 0.9088 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5875, allocations: 3.953 kB / 0.9088 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5875, allocations: 0 / 0.9088 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.5883, allocations: 231.5 kB / 0.909 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.5883, allocations: 85.02 kB / 0.9091 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.5884, allocations: 3.984 kB / 0.9091 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.5886, allocations: 15.98 kB / 0.9091 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.5887, allocations: 3.953 kB / 0.9091 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.5887, allocations: 7.938 kB / 0.9091 GB, free: 5.523 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.5888, allocations: 108.9 kB / 0.9092 GB, free: 5.418 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5888, allocations: 0 / 0.9092 GB, free: 5.418 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.5892, allocations: 12 kB / 0.9092 GB, free: 5.406 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 (3): * Single equations (assignments): 3 * 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.0001741/0.5893, allocations: 107.2 kB / 0.9093 GB, free: 5.293 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.59, allocations: 103.9 kB / 0.9094 GB, free: 5.191 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.59, allocations: 0 / 0.9094 GB, free: 5.191 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.5903, allocations: 55.95 kB / 0.9095 GB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.5906, allocations: 2.812 kB / 0.9095 GB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.5911, allocations: 156.6 kB / 0.9096 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5914, allocations: 0.6965 MB / 0.9103 GB, free: 4.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.5914, allocations: 4 kB / 0.9103 GB, free: 4.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.5915, allocations: 11.44 kB / 0.9103 GB, free: 4.219 MB / 458.7 MB Notification: Performance of SimCode: time 3.106e-06/0.5915, allocations: 0 / 0.9103 GB, free: 4.219 MB / 458.7 MB Notification: Performance of Templates: time 0.003666/0.5952, allocations: 0.6465 MB / 0.911 GB, free: 3.578 MB / 458.7 MB