Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5323/0.5323, allocations: 94.69 MB / 107.2 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001207/0.001207, allocations: 178.8 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.542/1.542, allocations: 170.5 MB / 324.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001641/0.001641, allocations: 124.1 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.105e-05, allocations: 7.938 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5091, allocations: 61.51 MB / 0.5054 GB, free: 49.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.6489, allocations: 93.69 MB / 0.5969 GB, free: 1.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.6492, allocations: 69.7 kB / 0.5969 GB, free: 1.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004755/0.654, allocations: 1.6 MB / 0.5985 GB, free: 236 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.654, allocations: 0 / 0.5985 GB, free: 236 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.654, allocations: 0.9375 kB / 0.5985 GB, free: 236 kB / 410.7 MB 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.0003712/0.6544, allocations: 344.2 kB / 0.5988 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.6545, allocations: 8.031 kB / 0.5988 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.6546, allocations: 1.531 kB / 0.5988 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.6547, allocations: 172.3 kB / 0.599 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.6547, allocations: 0.7188 kB / 0.599 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.6547, allocations: 0.5156 kB / 0.599 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.6549, allocations: 49.48 kB / 0.5991 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6549, allocations: 0 / 0.5991 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6549, allocations: 0 / 0.5991 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6549, allocations: 0.8125 kB / 0.5991 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.655, allocations: 18.8 kB / 0.5991 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.6554, allocations: 269.2 kB / 0.5993 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.894e-05/0.6555, allocations: 30.53 kB / 0.5994 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.6556, allocations: 8.922 kB / 0.5994 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.6561, allocations: 413.5 kB / 0.5998 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6561, allocations: 37.81 kB / 0.5998 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6561, allocations: 0 / 0.5998 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.6563, allocations: 45.69 kB / 0.5998 GB, free: 14.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.6563, allocations: 55.34 kB / 0.5999 GB, free: 14.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.6564, allocations: 94.81 kB / 0.6 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6564, allocations: 25.7 kB / 0.6 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.6565, allocations: 88.14 kB / 0.6001 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6565, allocations: 5.469 kB / 0.6001 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.6565, allocations: 0 / 0.6001 GB, free: 14.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6567, allocations: 314.8 kB / 0.6004 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.6567, allocations: 9.656 kB / 0.6004 GB, free: 14.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.6567, allocations: 4 kB / 0.6004 GB, free: 14.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.6568, allocations: 4 kB / 0.6004 GB, free: 14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6568, allocations: 1.094 kB / 0.6004 GB, free: 14 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.474e-05/0.6569, allocations: 49.59 kB / 0.6005 GB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6569, allocations: 5.875 kB / 0.6005 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6569, allocations: 5.172 kB / 0.6005 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6569, allocations: 0 / 0.6005 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.657, allocations: 14.47 kB / 0.6005 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.657, allocations: 2.625 kB / 0.6005 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.6571, allocations: 11.98 kB / 0.6005 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6571, allocations: 0 / 0.6005 GB, free: 13.92 MB / 426.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 () * 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 6.573e-05/0.6572, allocations: 108.2 kB / 0.6006 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.6572, allocations: 11.86 kB / 0.6006 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.6573, allocations: 52.7 kB / 0.6007 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6574, allocations: 0 / 0.6007 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.6574, allocations: 1.062 kB / 0.6007 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.6574, allocations: 7.938 kB / 0.6007 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.6575, allocations: 161.7 kB / 0.6008 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.6575, allocations: 0 / 0.6008 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.6576, allocations: 11.98 kB / 0.6008 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6576, allocations: 0 / 0.6008 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.6576, allocations: 3.953 kB / 0.6008 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6577, allocations: 2.688 kB / 0.6008 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6577, allocations: 4 kB / 0.6009 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.6578, allocations: 128.9 kB / 0.601 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.6579, allocations: 85.09 kB / 0.6011 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.6579, allocations: 0.625 kB / 0.6011 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.658, allocations: 16.08 kB / 0.6011 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.658, allocations: 15.92 kB / 0.6011 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.658, allocations: 0 / 0.6011 GB, free: 13.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.6581, allocations: 79.28 kB / 0.6012 GB, free: 13.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6581, allocations: 0 / 0.6012 GB, free: 13.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.6583, allocations: 11.94 kB / 0.6012 GB, free: 13.15 MB / 426.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 () * 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.0002413/0.6586, allocations: 99.25 kB / 0.6013 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.6587, allocations: 16 kB / 0.6013 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6587, allocations: 0 / 0.6013 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.6587, allocations: 13.95 kB / 0.6013 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.6589, allocations: 4 kB / 0.6013 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.6592, allocations: 70.8 kB / 0.6014 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.6595, allocations: 0.677 MB / 0.602 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.6596, allocations: 3.234 kB / 0.602 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.6596, allocations: 15.56 kB / 0.602 GB, free: 12.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6596, allocations: 0 / 0.602 GB, free: 12.21 MB / 426.7 MB Notification: Performance of Templates: time 0.002875/0.6625, allocations: 0.4888 MB / 0.6025 GB, free: 11.76 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)