Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 191 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4418/0.4418, allocations: 90.85 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.4 MB / 342.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 88.78 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.717e-06/8.747e-06, allocations: 4 kB / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2909, allocations: 72.31 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3945, allocations: 101.9 MB / 0.6524 GB, free: 8.184 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.3948, allocations: 76.45 kB / 0.6525 GB, free: 8.109 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01184/0.4066, allocations: 3.536 MB / 0.6559 GB, free: 4.629 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4067, allocations: 0 / 0.6559 GB, free: 4.629 MB / 474.7 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.0004688/0.4072, allocations: 390.2 kB / 0.6563 GB, free: 4.203 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4072, allocations: 8.031 kB / 0.6563 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.4076, allocations: 71.92 kB / 0.6564 GB, free: 4.125 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4077, allocations: 167 kB / 0.6565 GB, free: 3.922 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4077, allocations: 0 / 0.6565 GB, free: 3.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.4078, allocations: 4 kB / 0.6565 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.216e-05/0.4079, allocations: 20 kB / 0.6565 GB, free: 3.898 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.408, allocations: 49.66 kB / 0.6566 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.408, allocations: 3.938 kB / 0.6566 GB, free: 3.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.408, allocations: 0 / 0.6566 GB, free: 3.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.408, allocations: 4 kB / 0.6566 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.4084, allocations: 269.3 kB / 0.6569 GB, free: 3.535 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.222e-05/0.4085, allocations: 46.56 kB / 0.6569 GB, free: 3.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.4086, allocations: 18.67 kB / 0.6569 GB, free: 3.461 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4086, allocations: 0 / 0.6569 GB, free: 3.461 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4086, allocations: 34.56 kB / 0.6569 GB, free: 3.418 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.4086, allocations: 0 / 0.6569 GB, free: 3.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003129/0.4089, allocations: 77.5 kB / 0.657 GB, free: 3.336 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.409, allocations: 63.38 kB / 0.6571 GB, free: 3.262 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.409, allocations: 89 kB / 0.6572 GB, free: 3.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4091, allocations: 25.7 kB / 0.6572 GB, free: 3.137 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.4091, allocations: 84.14 kB / 0.6573 GB, free: 3.051 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.4091, allocations: 7.906 kB / 0.6573 GB, free: 3.043 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.4091, allocations: 0 / 0.6573 GB, free: 3.043 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4093, allocations: 314.8 kB / 0.6576 GB, free: 2.727 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.4093, allocations: 8 kB / 0.6576 GB, free: 2.719 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.4094, allocations: 20 kB / 0.6576 GB, free: 2.699 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4095, allocations: 23.97 kB / 0.6576 GB, free: 2.676 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4095, allocations: 1.781 kB / 0.6576 GB, free: 2.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.4097, allocations: 73.66 kB / 0.6577 GB, free: 2.598 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4097, allocations: 7.906 kB / 0.6577 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4097, allocations: 0 / 0.6577 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4097, allocations: 4.094 kB / 0.6577 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.4099, allocations: 35.91 kB / 0.6577 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.4099, allocations: 0 / 0.6577 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.4101, allocations: 27.97 kB / 0.6578 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.4101, allocations: 0 / 0.6578 GB, free: 2.523 MB / 474.7 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 () * 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 7.367e-05/0.4102, allocations: 110.6 kB / 0.6579 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4102, allocations: 3.906 kB / 0.6579 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.4102, allocations: 4.688 kB / 0.6579 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4102, allocations: 0 / 0.6579 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4103, allocations: 0 / 0.6579 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4103, allocations: 4 kB / 0.6579 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.4104, allocations: 146.2 kB / 0.658 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4104, allocations: 4 kB / 0.658 GB, free: 2.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4106, allocations: 35.88 kB / 0.6581 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4106, allocations: 0 / 0.6581 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4106, allocations: 1.688 kB / 0.6581 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4106, allocations: 0 / 0.6581 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4106, allocations: 2.25 kB / 0.6581 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002514/0.4109, allocations: 179.4 kB / 0.6582 GB, free: 1.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.4109, allocations: 77.11 kB / 0.6583 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.411, allocations: 3.938 kB / 0.6583 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.4111, allocations: 32 kB / 0.6584 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4112, allocations: 0 / 0.6584 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4112, allocations: 3.984 kB / 0.6584 GB, free: 1.855 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.079e-05/0.4112, allocations: 83.28 kB / 0.6584 GB, free: 1.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.4115, allocations: 16 kB / 0.6584 GB, free: 1.758 MB / 474.7 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 () * 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.0001411/0.4116, allocations: 111.2 kB / 0.6586 GB, free: 1.641 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.4117, allocations: 27.98 kB / 0.6586 GB, free: 1.613 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4117, allocations: 0 / 0.6586 GB, free: 1.613 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.4118, allocations: 12 kB / 0.6586 GB, free: 1.602 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.412, allocations: 12.56 kB / 0.6586 GB, free: 1.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.4124, allocations: 111.8 kB / 0.6587 GB, free: 1.457 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.4127, allocations: 0.7036 MB / 0.6594 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4127, allocations: 0 / 0.6594 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of Templates: time 0.002658/0.4154, allocations: 0.9363 MB / 0.6603 GB, free: 15.81 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)