Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 303.7 MB, free: 7.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00094/0.0009401, allocations: 192.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 92.59 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 16.41 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001725/0.2117, allocations: 1.145 MB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2128, allocations: 0.782 MB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.2128, allocations: 0 / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.2129, allocations: 0 / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.2129, allocations: 7.938 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.2134, allocations: 96.81 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.2134, allocations: 27.91 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2136, allocations: 8 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.2136, allocations: 19.92 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.2137, allocations: 11.98 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2137, allocations: 4 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.2141, allocations: 307.3 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2141, allocations: 7.984 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.2142, allocations: 33.64 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2143, allocations: 144.1 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2144, allocations: 0 / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2144, allocations: 0 / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2144, allocations: 0 / 0.9826 GB, free: 24.73 MB / 0.6198 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.0004287/0.2148, allocations: 383.4 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2149, allocations: 8.031 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.2153, allocations: 80.84 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.2154, allocations: 164.3 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2154, allocations: 8.375 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.2154, allocations: 384 / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.2157, allocations: 101.9 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2157, allocations: 0 / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2158, allocations: 0 / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2158, allocations: 0 / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.2162, allocations: 119.8 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.2167, allocations: 304.8 kB / 0.9838 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.217, allocations: 110.5 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.2172, allocations: 68.86 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2173, allocations: 4 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2173, allocations: 30.56 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2173, allocations: 0 / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000732/0.218, allocations: 205.6 kB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2181, allocations: 51.41 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.2181, allocations: 101.9 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.2181, allocations: 25.7 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.2182, allocations: 84.14 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2182, allocations: 7.891 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.2182, allocations: 8.031 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.2182, allocations: 314.8 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2184, allocations: 55.95 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2186, allocations: 55.95 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.219, allocations: 120.7 kB / 0.985 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.219, allocations: 3.938 kB / 0.985 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000396/0.2194, allocations: 153.5 kB / 0.9851 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2194, allocations: 4 kB / 0.9851 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2195, allocations: 0 / 0.9851 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2195, allocations: 0 / 0.9851 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2196, allocations: 36 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2196, allocations: 0 / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2198, allocations: 27.97 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2198, allocations: 0 / 0.9852 GB, free: 21.93 MB / 0.6198 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 5.021e-05/0.2198, allocations: 113.8 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.2199, allocations: 3.906 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.2199, allocations: 11.12 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2199, allocations: 0 / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2199, allocations: 0 / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2199, allocations: 0 / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.22, allocations: 173.6 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2201, allocations: 4 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2202, allocations: 35.91 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2202, allocations: 0 / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2202, allocations: 256 / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2202, allocations: 7.984 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2202, allocations: 0 / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.2207, allocations: 247.4 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.2207, allocations: 77.11 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2207, allocations: 4.031 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2208, allocations: 23.97 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.2209, allocations: 0 / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.2209, allocations: 7.984 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.083e-05/0.2209, allocations: 79.28 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2209, allocations: 4 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002289/0.2212, allocations: 16 kB / 0.9859 GB, free: 21.04 MB / 0.6198 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.0001317/0.2213, allocations: 111.2 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.2218, allocations: 115.9 kB / 0.9862 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2218, allocations: 0 / 0.9862 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.222, allocations: 67.95 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2223, allocations: 11.02 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.2229, allocations: 176.6 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.223, allocations: 0.677 MB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.025e-05/0.2231, allocations: 12 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.2231, allocations: 7.438 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2231, allocations: 0 / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.002691/0.2258, allocations: 0.7274 MB / 0.9878 GB, free: 19.09 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)