Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009725/0.009725, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001669/0.001669, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.719/1.719, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.6204/0.6204, allocations: 95.47 MB / 365.4 MB, free: 9.766 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.001427/0.001427, allocations: 78.08 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2237, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.003492/0.2273, allocations: 0.5553 MB / 0.5716 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000548/0.2279, allocations: 99.7 kB / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.228, allocations: 0 / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.228, allocations: 0 / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.309e-05/0.2281, allocations: 0 / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.2286, allocations: 23.92 kB / 0.5718 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.2287, allocations: 11.98 kB / 0.5718 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.2288, allocations: 4 kB / 0.5718 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.2289, allocations: 4 kB / 0.5718 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.229, allocations: 11.92 kB / 0.5718 GB, free: 7.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.229, allocations: 0 / 0.5718 GB, free: 7.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2292, allocations: 23.97 kB / 0.5718 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2292, allocations: 0 / 0.5718 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.2292, allocations: 7.938 kB / 0.5718 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.2294, allocations: 19.91 kB / 0.5718 GB, free: 7.535 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.2294, allocations: 7.938 kB / 0.5719 GB, free: 7.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2294, allocations: 0 / 0.5719 GB, free: 7.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.2295, allocations: 0 / 0.5719 GB, free: 7.527 MB / 446.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.0006746/0.2302, allocations: 327.9 kB / 0.5722 GB, free: 7.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.2302, allocations: 11.98 kB / 0.5722 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.2303, allocations: 0.9375 kB / 0.5722 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2306, allocations: 168.4 kB / 0.5723 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2306, allocations: 3.938 kB / 0.5723 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2307, allocations: 4 kB / 0.5723 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2309, allocations: 33.69 kB / 0.5724 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2309, allocations: 4 kB / 0.5724 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.231, allocations: 0 / 0.5724 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.231, allocations: 4 kB / 0.5724 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.2312, allocations: 19.97 kB / 0.5724 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.2315, allocations: 157.5 kB / 0.5726 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.2319, allocations: 42.59 kB / 0.5726 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.232, allocations: 8.922 kB / 0.5726 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008589/0.2329, allocations: 417.5 kB / 0.573 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.2329, allocations: 38.56 kB / 0.573 GB, free: 6.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 3.026e-06/0.233, allocations: 0 / 0.573 GB, free: 6.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004838/0.2335, allocations: 57.52 kB / 0.5731 GB, free: 5.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.2335, allocations: 63.34 kB / 0.5732 GB, free: 5.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2337, allocations: 93.86 kB / 0.5732 GB, free: 5.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.2337, allocations: 25.7 kB / 0.5733 GB, free: 5.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.2338, allocations: 80.14 kB / 0.5733 GB, free: 5.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.2338, allocations: 11.91 kB / 0.5734 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.2339, allocations: 13.7 kB / 0.5734 GB, free: 5.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2341, allocations: 310.8 kB / 0.5737 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.2342, allocations: 8 kB / 0.5737 GB, free: 5.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.2342, allocations: 12.11 kB / 0.5737 GB, free: 5.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2344, allocations: 28.78 kB / 0.5737 GB, free: 5.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2344, allocations: 0 / 0.5737 GB, free: 5.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002255/0.2346, allocations: 49.62 kB / 0.5738 GB, free: 5.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2347, allocations: 4 kB / 0.5738 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2347, allocations: 0 / 0.5738 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.2347, allocations: 0 / 0.5738 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.2348, allocations: 4 kB / 0.5738 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2349, allocations: 4 kB / 0.5738 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.2349, allocations: 11.98 kB / 0.5738 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.235, allocations: 0 / 0.5738 GB, free: 5.234 MB / 446.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 (3): * Single equations (assignments): 3 * 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 0.0001113/0.2351, allocations: 117.7 kB / 0.5739 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.2351, allocations: 4 kB / 0.5739 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.2354, allocations: 57.11 kB / 0.574 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2354, allocations: 0 / 0.574 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2355, allocations: 0 / 0.574 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2355, allocations: 0 / 0.574 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.2357, allocations: 161.6 kB / 0.5741 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2357, allocations: 0 / 0.5741 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.2358, allocations: 4 kB / 0.5741 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2358, allocations: 0 / 0.5741 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2358, allocations: 4 kB / 0.5741 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2358, allocations: 0 / 0.5741 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2358, allocations: 0 / 0.5741 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.2361, allocations: 85.31 kB / 0.5742 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.2362, allocations: 81.05 kB / 0.5743 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2362, allocations: 8 kB / 0.5743 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.2363, allocations: 0 / 0.5743 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2364, allocations: 11.86 kB / 0.5743 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2364, allocations: 0 / 0.5743 GB, free: 4.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.2365, allocations: 79.28 kB / 0.5744 GB, free: 4.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2365, allocations: 0 / 0.5744 GB, free: 4.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.2369, allocations: 4 kB / 0.5744 GB, free: 4.52 MB / 446.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 (3): * Single equations (assignments): 3 * 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.0002441/0.2371, allocations: 103.3 kB / 0.5745 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.2374, allocations: 19.98 kB / 0.5745 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2374, allocations: 0 / 0.5745 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.2375, allocations: 15.98 kB / 0.5745 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2378, allocations: 7.875 kB / 0.5745 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.2383, allocations: 101 kB / 0.5746 GB, free: 4.238 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2387, allocations: 0.6729 MB / 0.5753 GB, free: 3.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.2388, allocations: 7.984 kB / 0.5753 GB, free: 3.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2388, allocations: 7.438 kB / 0.5753 GB, free: 3.523 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2389, allocations: 0 / 0.5753 GB, free: 3.523 MB / 446.1 MB Notification: Performance of Templates: time 0.00494/0.2438, allocations: 384.5 kB / 0.5756 GB, free: 3.148 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)