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.0009244/0.0009243, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001056/0.001056, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.86/1.86, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005468/0.000547, allocations: 20.25 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2831, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001694/0.2849, allocations: 1.156 MB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2861, allocations: 0.7746 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.2861, allocations: 0 / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.2861, allocations: 3.984 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.2862, allocations: 0 / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.2866, allocations: 103.7 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.2867, allocations: 23.92 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.2868, allocations: 7.984 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.2868, allocations: 15.92 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.2869, allocations: 15.97 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2869, allocations: 4 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.2873, allocations: 303.4 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2874, allocations: 15.94 kB / 0.7896 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.2874, allocations: 25.7 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2876, allocations: 144 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2876, allocations: 0 / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2877, allocations: 0 / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2877, allocations: 4 kB / 0.7898 GB, free: 9.344 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.0005322/0.2882, allocations: 367.2 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2883, allocations: 16.03 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.2887, allocations: 79.91 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2889, allocations: 175 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2889, allocations: 0 / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2889, allocations: 0 / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2892, allocations: 101.6 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2892, allocations: 0 / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2893, allocations: 0 / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2893, allocations: 0 / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.2897, allocations: 119.9 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.2902, allocations: 300.8 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.2905, allocations: 122.4 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.2908, allocations: 64.8 kB / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2908, allocations: 4 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.2908, allocations: 34.56 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2908, allocations: 0 / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006778/0.2915, allocations: 193.6 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.2916, allocations: 67.47 kB / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2917, allocations: 97.86 kB / 0.7915 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2917, allocations: 25.7 kB / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.2918, allocations: 92.08 kB / 0.7916 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.2918, allocations: 3.906 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.2919, allocations: 0 / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.292, allocations: 314.8 kB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.2922, allocations: 63.89 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.2924, allocations: 55.95 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2926, allocations: 56.02 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2926, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004327/0.2931, allocations: 145.6 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2931, allocations: 8 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2931, allocations: 0 / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2931, allocations: 0 / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.2933, allocations: 32 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2933, allocations: 0 / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2935, allocations: 27.92 kB / 0.7922 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2935, allocations: 0 / 0.7922 GB, free: 6.613 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.2936, allocations: 118.5 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.2936, allocations: 0 / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.2937, allocations: 3.125 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2937, allocations: 3.938 kB / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2937, allocations: 0 / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2937, allocations: 0 / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.294, allocations: 177.5 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.294, allocations: 4 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.2941, allocations: 27.97 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2941, allocations: 0 / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2941, allocations: 4 kB / 0.7926 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2941, allocations: 0 / 0.7926 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2941, allocations: 0 / 0.7926 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.2946, allocations: 243.7 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.2947, allocations: 81.11 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2947, allocations: 4 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2949, allocations: 32 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2949, allocations: 7.922 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2949, allocations: 0 / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.295, allocations: 87.2 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.295, allocations: 3.938 kB / 0.793 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002472/0.2952, allocations: 16 kB / 0.793 GB, free: 5.723 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 (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.0002049/0.2955, allocations: 111.2 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.2959, allocations: 115.9 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2959, allocations: 0 / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.2961, allocations: 64.02 kB / 0.7933 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2964, allocations: 12 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.297, allocations: 176.6 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.2973, allocations: 0.6809 MB / 0.7941 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.2973, allocations: 11.98 kB / 0.7942 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.2974, allocations: 15.44 kB / 0.7942 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2974, allocations: 0 / 0.7942 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of Templates: time 0.003026/0.3004, allocations: 0.7028 MB / 0.7949 GB, free: 3.781 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: