Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001137/0.001137, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001206/0.001206, allocations: 198.5 kB / 16.91 MB, free: 6.195 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.387/1.387, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.988/1.988, allocations: 292.3 MB / 0.5492 GB, free: 13.58 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 66.17 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2115, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002928/0.2144, allocations: 1.499 MB / 0.785 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2157, allocations: 0.8324 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.2157, allocations: 4 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.2158, allocations: 0 / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.2158, allocations: 7.922 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.2163, allocations: 110.5 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2164, allocations: 31.92 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.2165, allocations: 15.91 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.2166, allocations: 19.92 kB / 0.786 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.2166, allocations: 11.98 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2166, allocations: 7.938 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.2171, allocations: 327.3 kB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2171, allocations: 4 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.2172, allocations: 15.92 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2174, allocations: 136.1 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2174, allocations: 0 / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2174, allocations: 4 kB / 0.7864 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2174, allocations: 0 / 0.7864 GB, free: 10.87 MB / 0.6075 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.0007046/0.2181, allocations: 371.4 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2182, allocations: 16.02 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/0.2187, allocations: 60.86 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.2189, allocations: 176.2 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.219, allocations: 4.375 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.219, allocations: 384 / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.2193, allocations: 85.94 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2193, allocations: 0 / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2193, allocations: 4 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2194, allocations: 0 / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.2198, allocations: 95.84 kB / 0.7872 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.2204, allocations: 296.8 kB / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.2208, allocations: 98.44 kB / 0.7876 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.221, allocations: 52.88 kB / 0.7877 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.221, allocations: 0 / 0.7877 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2211, allocations: 30.56 kB / 0.7877 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2211, allocations: 0 / 0.7877 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006935/0.2218, allocations: 169.6 kB / 0.7878 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2218, allocations: 55.41 kB / 0.7879 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.222, allocations: 105.8 kB / 0.788 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.222, allocations: 25.7 kB / 0.788 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.222, allocations: 80.14 kB / 0.7881 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2221, allocations: 7.906 kB / 0.7881 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2221, allocations: 13.72 kB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2222, allocations: 314.8 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2224, allocations: 51.95 kB / 0.7885 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2226, allocations: 43.95 kB / 0.7885 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.223, allocations: 96.7 kB / 0.7886 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.223, allocations: 0 / 0.7886 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004769/0.2235, allocations: 121.6 kB / 0.7887 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2235, allocations: 8 kB / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2235, allocations: 3.938 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2236, allocations: 0 / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2237, allocations: 19.97 kB / 0.7887 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2237, allocations: 0 / 0.7887 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2239, allocations: 27.91 kB / 0.7888 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2239, allocations: 0 / 0.7888 GB, free: 8.262 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/0.224, allocations: 118.4 kB / 0.7889 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.224, allocations: 256 / 0.7889 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.224, allocations: 3.125 kB / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.224, allocations: 0 / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2241, allocations: 8 kB / 0.7889 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.2241, allocations: 4 kB / 0.7889 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2243, allocations: 173.6 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2243, allocations: 0 / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2244, allocations: 23.91 kB / 0.7891 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2244, allocations: 3.938 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2244, allocations: 0 / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.2244, allocations: 4 kB / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2245, allocations: 0 / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.225, allocations: 223.4 kB / 0.7893 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.225, allocations: 85 kB / 0.7894 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2251, allocations: 0 / 0.7894 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2252, allocations: 19.97 kB / 0.7894 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.2253, allocations: 4 kB / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.2253, allocations: 32 / 0.7894 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.2253, allocations: 87.27 kB / 0.7895 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2253, allocations: 0 / 0.7895 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002376/0.2256, allocations: 16 kB / 0.7895 GB, free: 7.41 MB / 0.6075 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 (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.0001564/0.2257, allocations: 107.2 kB / 0.7896 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.2262, allocations: 99.83 kB / 0.7897 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2263, allocations: 0 / 0.7897 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2265, allocations: 52.02 kB / 0.7898 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2268, allocations: 11.92 kB / 0.7898 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.2274, allocations: 195.2 kB / 0.79 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2277, allocations: 0.6729 MB / 0.7906 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.2277, allocations: 11.42 kB / 0.7906 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2277, allocations: 0 / 0.7906 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.002285/0.23, allocations: 0.8889 MB / 0.7915 GB, free: 5.309 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)