Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001247/0.001252, allocations: 100 kB / 15.05 MB, free: 1.105 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.001483/0.001483, allocations: 177.3 kB / 15.95 MB, free: 216 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.5919/0.5919, allocations: 95.58 MB / 366 MB, free: 10.41 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.0005451/0.0005454, allocations: 15.98 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3222, allocations: 70.34 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00119/0.3234, allocations: 1.122 MB / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.3237, allocations: 132.3 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.3237, allocations: 4 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3238, allocations: 0 / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.3238, allocations: 7.938 kB / 0.5062 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.324, allocations: 23.91 kB / 0.5062 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.3241, allocations: 15.97 kB / 0.5063 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.125e-05/0.3242, allocations: 4 kB / 0.5063 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.3242, allocations: 4 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.3243, allocations: 19.92 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3243, allocations: 0 / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.3243, allocations: 19.97 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.3243, allocations: 4 kB / 0.5063 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.3244, allocations: 25.7 kB / 0.5063 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.225e-05/0.3245, allocations: 23.95 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.3245, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3245, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.3245, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.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.0003401/0.3248, allocations: 349.2 kB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3249, allocations: 11.98 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3249, allocations: 4 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.325, allocations: 170.9 kB / 0.5069 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.325, allocations: 0 / 0.5069 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.325, allocations: 4 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3252, allocations: 61.62 kB / 0.5069 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3252, allocations: 7.875 kB / 0.5069 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3252, allocations: 0 / 0.5069 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3252, allocations: 0 / 0.5069 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3254, allocations: 39.97 kB / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.3256, allocations: 252.9 kB / 0.5072 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3258, allocations: 46.5 kB / 0.5073 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.3261, allocations: 425.6 kB / 0.5077 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3261, allocations: 30.56 kB / 0.5077 GB, free: 13.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3261, allocations: 0 / 0.5077 GB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003318/0.3265, allocations: 97.73 kB / 0.5078 GB, free: 13.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.3265, allocations: 59.34 kB / 0.5079 GB, free: 13.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.3266, allocations: 105.8 kB / 0.508 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.545e-06/0.3266, allocations: 25.7 kB / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.3266, allocations: 80.14 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.3266, allocations: 7.906 kB / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.3266, allocations: 0 / 0.5081 GB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.3267, allocations: 318.9 kB / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.3268, allocations: 23.97 kB / 0.5084 GB, free: 12.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.3268, allocations: 19.98 kB / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.283e-05/0.3269, allocations: 24.05 kB / 0.5084 GB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3269, allocations: 0 / 0.5084 GB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.3271, allocations: 81.61 kB / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3271, allocations: 4 kB / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3271, allocations: 4.031 kB / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3272, allocations: 4 kB / 0.5085 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.3272, allocations: 15.92 kB / 0.5085 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3273, allocations: 0 / 0.5085 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.3273, allocations: 4 kB / 0.5085 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3273, allocations: 4 kB / 0.5085 GB, free: 12.58 MB / 382.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 (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 4.585e-05/0.3274, allocations: 109.8 kB / 0.5086 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.3274, allocations: 15.83 kB / 0.5087 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3276, allocations: 88.72 kB / 0.5087 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3276, allocations: 4 kB / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3276, allocations: 0 / 0.5087 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3276, allocations: 4.031 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3278, allocations: 157.6 kB / 0.5089 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3278, allocations: 3.984 kB / 0.5089 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.3278, allocations: 8 kB / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3278, allocations: 3.953 kB / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3278, allocations: 0 / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3279, allocations: 7.938 kB / 0.5089 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3279, allocations: 0 / 0.5089 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3281, allocations: 175.5 kB / 0.5091 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3281, allocations: 85.03 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3281, allocations: 7.953 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.3282, allocations: 8.031 kB / 0.5092 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.3282, allocations: 3.984 kB / 0.5092 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.3282, allocations: 4 kB / 0.5092 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.3283, allocations: 83.28 kB / 0.5093 GB, free: 11.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3283, allocations: 0 / 0.5093 GB, free: 11.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.3285, allocations: 4 kB / 0.5093 GB, free: 11.71 MB / 382.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 (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.0001071/0.3286, allocations: 103.2 kB / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3288, allocations: 55.89 kB / 0.5094 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3288, allocations: 0 / 0.5094 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.3289, allocations: 23.98 kB / 0.5095 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.3291, allocations: 8.125 kB / 0.5095 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.3293, allocations: 112.6 kB / 0.5096 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.054e-05/0.3294, allocations: 0.677 MB / 0.5102 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.148e-05/0.3294, allocations: 0 / 0.5102 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.3294, allocations: 15.38 kB / 0.5102 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3294, allocations: 0 / 0.5102 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.002318/0.3318, allocations: 0.5063 MB / 0.5107 GB, free: 10.16 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: