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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001323, allocations: 191.7 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6247/0.6247, allocations: 95.47 MB / 364.8 MB, free: 10.07 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 67.91 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.357, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002595/0.3596, allocations: 1.476 MB / 0.5031 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003507/0.36, allocations: 144.2 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.36, allocations: 0 / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3601, allocations: 0 / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.3601, allocations: 7.922 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.3604, allocations: 15.98 kB / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.3604, allocations: 31.86 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.3605, allocations: 4 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.3606, allocations: 15.98 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.3606, allocations: 3.938 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3606, allocations: 4 kB / 0.5034 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.098e-05/0.3607, allocations: 27.95 kB / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.3607, allocations: 4 kB / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.3608, allocations: 7.938 kB / 0.5034 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3609, allocations: 27.89 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3609, allocations: 4 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3609, allocations: 0 / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3609, allocations: 0 / 0.5034 GB, free: 15.84 MB / 382.1 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.0004021/0.3613, allocations: 345.4 kB / 0.5038 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3613, allocations: 15.98 kB / 0.5038 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.3614, allocations: 4.844 kB / 0.5038 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.3615, allocations: 168.4 kB / 0.5039 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3615, allocations: 4.375 kB / 0.5039 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3615, allocations: 3.938 kB / 0.5039 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3617, allocations: 57.59 kB / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3617, allocations: 0 / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3617, allocations: 4 kB / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3617, allocations: 0 / 0.504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3619, allocations: 31.97 kB / 0.504 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.3622, allocations: 252.9 kB / 0.5043 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3623, allocations: 42.5 kB / 0.5043 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.3624, allocations: 28.89 kB / 0.5043 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.3628, allocations: 409.5 kB / 0.5047 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3628, allocations: 30.56 kB / 0.5048 GB, free: 14.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3628, allocations: 0 / 0.5048 GB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.3632, allocations: 85.64 kB / 0.5048 GB, free: 14.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3633, allocations: 51.41 kB / 0.5049 GB, free: 14.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.3633, allocations: 109.8 kB / 0.505 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.3633, allocations: 29.64 kB / 0.505 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.3634, allocations: 84.05 kB / 0.5051 GB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.3634, allocations: 8 kB / 0.5051 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3634, allocations: 21.77 kB / 0.5051 GB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.3635, allocations: 314.8 kB / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.3636, allocations: 19.98 kB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.3636, allocations: 11.98 kB / 0.5055 GB, free: 13.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3638, allocations: 44.81 kB / 0.5055 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3638, allocations: 4.062 kB / 0.5055 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.364, allocations: 65.83 kB / 0.5056 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.364, allocations: 4 kB / 0.5056 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.364, allocations: 3.984 kB / 0.5056 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.364, allocations: 4 kB / 0.5056 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.3641, allocations: 8 kB / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3641, allocations: 3.938 kB / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.3642, allocations: 12.02 kB / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3642, allocations: 0 / 0.5056 GB, free: 13.29 MB / 382.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.3642, allocations: 117.8 kB / 0.5057 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.3643, allocations: 0 / 0.5057 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.3645, allocations: 76.73 kB / 0.5058 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3645, allocations: 3.984 kB / 0.5058 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3645, allocations: 0 / 0.5058 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3645, allocations: 4.031 kB / 0.5058 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3646, allocations: 157.6 kB / 0.5059 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3647, allocations: 0 / 0.5059 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.3647, allocations: 11.98 kB / 0.506 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3647, allocations: 0 / 0.506 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3647, allocations: 0 / 0.506 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3647, allocations: 0 / 0.506 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3647, allocations: 3.938 kB / 0.506 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.365, allocations: 171.4 kB / 0.5061 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.365, allocations: 85.05 kB / 0.5062 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.365, allocations: 0 / 0.5062 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.3651, allocations: 7.984 kB / 0.5062 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3651, allocations: 4 kB / 0.5062 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3651, allocations: 0 / 0.5062 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.207e-05/0.3651, allocations: 87.2 kB / 0.5063 GB, free: 12.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3652, allocations: 4.031 kB / 0.5063 GB, free: 12.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.3654, allocations: 15.94 kB / 0.5063 GB, free: 12.45 MB / 382.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.3655, allocations: 99.25 kB / 0.5064 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3657, allocations: 43.89 kB / 0.5065 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3657, allocations: 3.938 kB / 0.5065 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.3658, allocations: 16.05 kB / 0.5065 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3661, allocations: 14.09 kB / 0.5065 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.3664, allocations: 103.3 kB / 0.5066 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.3665, allocations: 0.677 MB / 0.5072 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.415e-05/0.3665, allocations: 0 / 0.5072 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.3665, allocations: 11.44 kB / 0.5073 GB, free: 11.42 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3666, allocations: 4 kB / 0.5073 GB, free: 11.42 MB / 382.1 MB Notification: Performance of Templates: time 0.002301/0.3689, allocations: 0.5153 MB / 0.5078 GB, free: 10.91 MB / 382.1 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)