Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.794/2.794, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001289/0.001289, allocations: 175.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001322/0.001322, allocations: 90.39 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005442, allocations: 12.47 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002376/0.2938, allocations: 1.156 MB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2959, allocations: 0.7706 MB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.296, allocations: 0 / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.2961, allocations: 4 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.2962, allocations: 3.938 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007805/0.297, allocations: 99.69 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.2971, allocations: 27.92 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.2972, allocations: 3.984 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.2973, allocations: 15.98 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.2974, allocations: 23.91 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.2974, allocations: 0 / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000903/0.2984, allocations: 303.4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.2984, allocations: 3.984 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.2985, allocations: 29.7 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.2989, allocations: 136.1 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2989, allocations: 0 / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.299, allocations: 0 / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.299, allocations: 0 / 0.9809 GB, free: 25.79 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.000784/0.2998, allocations: 391.1 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.2998, allocations: 12.02 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.3009, allocations: 79.91 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3011, allocations: 167 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.3012, allocations: 4 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3012, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.3019, allocations: 97.62 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3019, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3019, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.302, allocations: 4 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.303, allocations: 115.9 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009057/0.304, allocations: 308.7 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.3049, allocations: 114.5 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.3055, allocations: 72.81 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3055, allocations: 0 / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3056, allocations: 30.56 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.3056, allocations: 0 / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.001742/0.3073, allocations: 209.5 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3074, allocations: 55.41 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.3075, allocations: 101.9 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3076, allocations: 25.7 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.3076, allocations: 88.12 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3077, allocations: 7.891 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.3077, allocations: 4 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.3078, allocations: 314.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.3083, allocations: 55.98 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.3089, allocations: 55.95 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.3094, allocations: 56.02 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3095, allocations: 0 / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.001123/0.3106, allocations: 153.5 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3107, allocations: 4 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3107, allocations: 3.938 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3107, allocations: 4 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3111, allocations: 28 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3111, allocations: 3.953 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.3114, allocations: 23.97 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3115, allocations: 8 kB / 0.9833 GB, free: 23.03 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 0.0001015/0.3116, allocations: 105.8 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.3117, allocations: 0 / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.3117, allocations: 11.12 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3118, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3118, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3118, allocations: 7.938 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3121, allocations: 169.6 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3121, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.3125, allocations: 35.95 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3125, allocations: 0 / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3125, allocations: 0 / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3125, allocations: 0 / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3126, allocations: 0 / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3137, allocations: 251.3 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3138, allocations: 77.11 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3139, allocations: 3.984 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3142, allocations: 24.02 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.3143, allocations: 7.984 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3144, allocations: 3.938 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.3144, allocations: 83.53 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3144, allocations: 0 / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005624/0.315, allocations: 19.95 kB / 0.9841 GB, free: 22.15 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.0002188/0.3152, allocations: 107.2 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.3164, allocations: 115.9 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3164, allocations: 0 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.317, allocations: 71.94 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.3176, allocations: 3.938 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3187, allocations: 184.5 kB / 0.9846 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.3189, allocations: 0.6731 MB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.3191, allocations: 15.98 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.3192, allocations: 7.438 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.3192, allocations: 0 / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.00452/0.3237, allocations: 0.7115 MB / 0.9859 GB, free: 20.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)