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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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") [: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/Buildings 1.6.0+build.1/package.mo): time 0.5749/0.5749, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001177/0.001177, allocations: 175.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.268/1.268, allocations: 170.5 MB / 319 MB, free: 9.363 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001565/0.001565, allocations: 105.6 kB / 381 MB, free: 18.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.116e-06, allocations: 4 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 61.51 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4339, allocations: 92.95 MB / 0.5889 GB, free: 9.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4342, allocations: 71.95 kB / 0.589 GB, free: 9.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004488/0.4387, allocations: 1.277 MB / 0.5902 GB, free: 8.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4387, allocations: 2.516 kB / 0.5902 GB, free: 8.145 MB / 410.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.0003326/0.4391, allocations: 341.4 kB / 0.5905 GB, free: 7.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4391, allocations: 9.531 kB / 0.5905 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.4392, allocations: 8.969 kB / 0.5905 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4393, allocations: 173.7 kB / 0.5907 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4393, allocations: 1.188 kB / 0.5907 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4394, allocations: 4 kB / 0.5907 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.516e-05/0.4394, allocations: 4 kB / 0.5907 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.4395, allocations: 39.75 kB / 0.5908 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4395, allocations: 3.984 kB / 0.5908 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4396, allocations: 7 kB / 0.5908 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4396, allocations: 6.625 kB / 0.5908 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.44, allocations: 240.6 kB / 0.591 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.819e-05/0.4401, allocations: 22.58 kB / 0.591 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.4401, allocations: 12.92 kB / 0.591 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.4406, allocations: 422.4 kB / 0.5914 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4406, allocations: 34.47 kB / 0.5915 GB, free: 6.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.4406, allocations: 0 / 0.5915 GB, free: 6.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001932/0.4408, allocations: 41.64 kB / 0.5915 GB, free: 6.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4408, allocations: 55.41 kB / 0.5916 GB, free: 6.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.4409, allocations: 102.1 kB / 0.5917 GB, free: 6.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4409, allocations: 25.7 kB / 0.5917 GB, free: 6.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.441, allocations: 85.66 kB / 0.5918 GB, free: 6.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.441, allocations: 3.906 kB / 0.5918 GB, free: 6.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.441, allocations: 0 / 0.5918 GB, free: 6.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4411, allocations: 315.4 kB / 0.5921 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.4411, allocations: 8.031 kB / 0.5921 GB, free: 5.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.4412, allocations: 4 kB / 0.5921 GB, free: 5.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.4412, allocations: 8 kB / 0.5921 GB, free: 5.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4412, allocations: 0 / 0.5921 GB, free: 5.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001014/0.4413, allocations: 49.59 kB / 0.5921 GB, free: 5.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4413, allocations: 4 kB / 0.5921 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4413, allocations: 0 / 0.5921 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4414, allocations: 3.938 kB / 0.5922 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4415, allocations: 16.08 kB / 0.5922 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4415, allocations: 0 / 0.5922 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.4415, allocations: 8 kB / 0.5922 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4416, allocations: 0.625 kB / 0.5922 GB, free: 5.871 MB / 410.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 6.947e-05/0.4416, allocations: 108.9 kB / 0.5923 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.4417, allocations: 7.984 kB / 0.5923 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4418, allocations: 45.91 kB / 0.5923 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4418, allocations: 11.78 kB / 0.5923 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4418, allocations: 0 / 0.5923 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4418, allocations: 1.031 kB / 0.5923 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.442, allocations: 138.1 kB / 0.5925 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.442, allocations: 0 / 0.5925 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.4421, allocations: 16.02 kB / 0.5925 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4421, allocations: 0 / 0.5925 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4421, allocations: 0 / 0.5925 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4421, allocations: 7.938 kB / 0.5925 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4421, allocations: 2 kB / 0.5925 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001328/0.4422, allocations: 135.5 kB / 0.5926 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4423, allocations: 85.11 kB / 0.5927 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.4423, allocations: 0 / 0.5927 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.4424, allocations: 16.67 kB / 0.5927 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.4424, allocations: 3.906 kB / 0.5927 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4424, allocations: 3.938 kB / 0.5927 GB, free: 5.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.735e-05/0.4425, allocations: 79.28 kB / 0.5928 GB, free: 5.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.4427, allocations: 11.94 kB / 0.5928 GB, free: 5.137 MB / 410.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.0001381/0.4429, allocations: 107.2 kB / 0.5929 GB, free: 5.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.4429, allocations: 15.94 kB / 0.5929 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4429, allocations: 2.438 kB / 0.5929 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.443, allocations: 8 kB / 0.5929 GB, free: 5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.4431, allocations: 4 kB / 0.593 GB, free: 4.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.4433, allocations: 53.48 kB / 0.593 GB, free: 4.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.4436, allocations: 0.688 MB / 0.5937 GB, free: 4.207 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4436, allocations: 4.125 kB / 0.5937 GB, free: 4.203 MB / 410.7 MB Notification: Performance of Templates: time 0.002261/0.4459, allocations: 0.5479 MB / 0.5942 GB, free: 3.691 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (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)