Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008945/0.0008946, allocations: 180.6 kB / 8.005 MB, free: 1.043 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4757/0.4757, allocations: 90.91 MB / 99.35 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.5 MB / 343.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 98.47 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.403e-05, allocations: 8 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1487, allocations: 72.32 MB / 0.5535 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5675, allocations: 102.3 MB / 0.6535 GB, free: 7.957 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.5677, allocations: 88.25 kB / 0.6535 GB, free: 7.906 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5832, allocations: 5.489 MB / 0.6589 GB, free: 3.309 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.5832, allocations: 0 / 0.6589 GB, free: 3.309 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.5833, allocations: 0 / 0.6589 GB, free: 3.309 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004234/0.5837, allocations: 397.2 kB / 0.6593 GB, free: 2.883 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5837, allocations: 16.03 kB / 0.6593 GB, free: 2.867 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.5841, allocations: 72.34 kB / 0.6594 GB, free: 2.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5842, allocations: 163.1 kB / 0.6595 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5842, allocations: 0 / 0.6595 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.5843, allocations: 11.25 kB / 0.6595 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/0.5844, allocations: 37.61 kB / 0.6596 GB, free: 2.562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.5845, allocations: 67.28 kB / 0.6596 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5845, allocations: 3.938 kB / 0.6596 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5846, allocations: 4 kB / 0.6596 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5846, allocations: 3.953 kB / 0.6596 GB, free: 2.488 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.5851, allocations: 314.9 kB / 0.6599 GB, free: 2.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.5852, allocations: 65.88 kB / 0.66 GB, free: 2.102 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.5853, allocations: 27.3 kB / 0.66 GB, free: 2.078 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.5853, allocations: 3.953 kB / 0.66 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5853, allocations: 34.56 kB / 0.6601 GB, free: 2.031 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.5853, allocations: 0 / 0.6601 GB, free: 2.031 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.01228/0.5976, allocations: 2.11 MB / 0.6621 GB, free: 20 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.5977, allocations: 55.41 kB / 0.6622 GB, free: 15.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.5977, allocations: 96.42 kB / 0.6623 GB, free: 15.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.5978, allocations: 25.7 kB / 0.6623 GB, free: 15.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.5978, allocations: 84.05 kB / 0.6624 GB, free: 15.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.5979, allocations: 41.33 kB / 0.6624 GB, free: 15.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.598, allocations: 4 kB / 0.6624 GB, free: 15.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.5981, allocations: 318.1 kB / 0.6627 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.5983, allocations: 113.2 kB / 0.6628 GB, free: 15.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.5984, allocations: 112.7 kB / 0.6629 GB, free: 15.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.5987, allocations: 129.8 kB / 0.6631 GB, free: 15.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5987, allocations: 0 / 0.6631 GB, free: 15.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006531/0.5994, allocations: 344.5 kB / 0.6634 GB, free: 14.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5994, allocations: 8.625 kB / 0.6634 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5994, allocations: 0 / 0.6634 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5994, allocations: 0 / 0.6634 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.6002, allocations: 123 kB / 0.6635 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.6002, allocations: 0 / 0.6635 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.6008, allocations: 55.94 kB / 0.6636 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.6009, allocations: 23.94 kB / 0.6636 GB, free: 14.67 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 (13): * Single equations (assignments): 13 * 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.0001297/0.601, allocations: 101 kB / 0.6637 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.6011, allocations: 11.89 kB / 0.6637 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.6011, allocations: 14.59 kB / 0.6637 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6011, allocations: 4 kB / 0.6637 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6011, allocations: 4 kB / 0.6637 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6012, allocations: 3.984 kB / 0.6637 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.6024, allocations: 0.89 MB / 0.6646 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6024, allocations: 0 / 0.6646 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.6032, allocations: 115.8 kB / 0.6647 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6032, allocations: 96 / 0.6647 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/0.6033, allocations: 39.56 kB / 0.6647 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6033, allocations: 0 / 0.6647 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6033, allocations: 3.984 kB / 0.6648 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.6042, allocations: 0.5695 MB / 0.6653 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.6044, allocations: 119.5 kB / 0.6654 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.6044, allocations: 0 / 0.6654 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.6051, allocations: 56 kB / 0.6655 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.6052, allocations: 31.92 kB / 0.6655 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.6052, allocations: 27.92 kB / 0.6655 GB, free: 12.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.6053, allocations: 78.53 kB / 0.6656 GB, free: 12.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6053, allocations: 0 / 0.6656 GB, free: 12.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.6056, allocations: 55.94 kB / 0.6657 GB, free: 12.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002039/0.6059, allocations: 115.2 kB / 0.6658 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.6063, allocations: 258 kB / 0.666 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6063, allocations: 3.812 kB / 0.666 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.6066, allocations: 147.6 kB / 0.6662 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.6068, allocations: 3.984 kB / 0.6662 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.6102, allocations: 0.6941 MB / 0.6668 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.6104, allocations: 0.6924 MB / 0.6675 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006527/0.6111, allocations: 92.66 kB / 0.6676 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.6114, allocations: 51.31 kB / 0.6677 GB, free: 10.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6114, allocations: 0 / 0.6677 GB, free: 10.73 MB / 474.7 MB Notification: Performance of Templates: time 0.005603/0.617, allocations: 3.146 MB / 0.6707 GB, free: 7.594 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)