Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.202/5.202, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 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.00255/0.00255, allocations: 364.8 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.461/4.461, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 190.9 kB / 1.226 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0009238/0.0009242, allocations: 15.98 kB / 1.349 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7701, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.9753, allocations: 139 MB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9757, allocations: 83.95 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.9943, allocations: 3.804 MB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9944, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9944, allocations: 1.375 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005492/0.9949, allocations: 384.6 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.995, allocations: 15.62 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.9956, allocations: 69.67 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.9957, allocations: 163 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.9958, allocations: 4 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.9958, allocations: 0 / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.9963, allocations: 100.8 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.9963, allocations: 1.672 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.9963, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.9964, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.9971, allocations: 119.5 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.9977, allocations: 300.3 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.9984, allocations: 112.9 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.9988, allocations: 68.44 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.9988, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.9989, allocations: 35.72 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.714e-06/0.9989, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.001264/1, allocations: 208.5 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1, allocations: 51.41 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/1, allocations: 102.3 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/1, allocations: 30.39 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/1, allocations: 84.12 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/1, allocations: 4.562 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/1, allocations: 4 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.221e-05/1.001, allocations: 315.4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/1.001, allocations: 57.23 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/1.001, allocations: 54.48 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/1.002, allocations: 55.67 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.002, allocations: 4.438 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008249/1.003, allocations: 149.1 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.003, allocations: 4 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.003, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.003, allocations: 4.625 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/1.003, allocations: 25.78 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.003, allocations: 0.625 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/1.003, allocations: 29.48 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.003, allocations: 4.906 kB / 1.603 GB, free: 138.7 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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 8.754e-05/1.003, allocations: 110.1 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/1.003, allocations: 4 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/1.003, allocations: 12.09 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.003, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.003, allocations: 1.125 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.003, allocations: 3.984 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/1.004, allocations: 169.6 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.004, allocations: 2.453 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/1.004, allocations: 35.16 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.004, allocations: 3.938 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.004, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.004, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.004, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/1.005, allocations: 247 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/1.005, allocations: 78.17 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/1.005, allocations: 3.984 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/1.005, allocations: 27.08 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/1.005, allocations: 7.984 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.005, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.068e-05/1.005, allocations: 83.28 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/1.005, allocations: 1.562 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003185/1.006, allocations: 19.94 kB / 1.604 GB, free: 137.9 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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.0001734/1.006, allocations: 104.3 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000812/1.007, allocations: 118.2 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.007, allocations: 1.375 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003908/1.007, allocations: 66.91 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/1.007, allocations: 10.39 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/1.008, allocations: 177.5 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/1.008, allocations: 0.6809 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001331/1.009, allocations: 10.56 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/1.009, allocations: 7.438 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/1.009, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003557/1.012, allocations: 0.7207 MB / 1.606 GB, free: 136 MB / 0.8542 GB