Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 105.6 kB / 16.35 MB, free: 6.336 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.000978/0.000978, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 284.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9039/0.9039, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 89.23 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1506, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001777/0.1524, allocations: 0.7876 MB / 0.6824 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1539, allocations: 1.477 MB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.154, allocations: 0 / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.154, allocations: 3.938 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.154, allocations: 0 / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.1544, allocations: 147.4 kB / 0.684 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.1545, allocations: 51.84 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.1546, allocations: 3.984 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.1546, allocations: 23.92 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.1547, allocations: 35.89 kB / 0.6841 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1547, allocations: 8 kB / 0.6841 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.1551, allocations: 319.4 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1551, allocations: 11.92 kB / 0.6844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1552, allocations: 27.91 kB / 0.6844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1555, allocations: 211.3 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1555, allocations: 0 / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1555, allocations: 0 / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1555, allocations: 0 / 0.6846 GB, free: 4.348 MB / 494.1 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.0005131/0.156, allocations: 411.2 kB / 0.685 GB, free: 3.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.501e-05/0.156, allocations: 8.031 kB / 0.685 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/0.1565, allocations: 72.75 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.1566, allocations: 168.3 kB / 0.6853 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1566, allocations: 8.375 kB / 0.6853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1566, allocations: 4.375 kB / 0.6853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.157, allocations: 117.9 kB / 0.6854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.157, allocations: 3.984 kB / 0.6854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.157, allocations: 0 / 0.6854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.157, allocations: 4 kB / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.1574, allocations: 99.84 kB / 0.6855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1579, allocations: 340.6 kB / 0.6858 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.1585, allocations: 154.4 kB / 0.686 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.1587, allocations: 52.8 kB / 0.686 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1587, allocations: 4 kB / 0.686 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1588, allocations: 38.56 kB / 0.686 GB, free: 2.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1588, allocations: 0 / 0.686 GB, free: 2.73 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.2688/0.4276, allocations: 2.822 MB / 0.6888 GB, free: 18.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4276, allocations: 60.81 kB / 0.6889 GB, free: 18.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.4277, allocations: 97.91 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.4278, allocations: 33.27 kB / 0.689 GB, free: 18.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.4278, allocations: 91.16 kB / 0.6891 GB, free: 18.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.4279, allocations: 36.98 kB / 0.6891 GB, free: 18.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.4281, allocations: 67.8 kB / 0.6892 GB, free: 18.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.4281, allocations: 317.6 kB / 0.6895 GB, free: 17.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.4288, allocations: 196.1 kB / 0.6897 GB, free: 17.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.4295, allocations: 191.4 kB / 0.6898 GB, free: 17.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4308, allocations: 393.2 kB / 0.6902 GB, free: 17.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4308, allocations: 0 / 0.6902 GB, free: 17.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00154/0.4323, allocations: 482.1 kB / 0.6907 GB, free: 17.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4323, allocations: 4.438 kB / 0.6907 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4324, allocations: 5.688 kB / 0.6907 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4324, allocations: 0 / 0.6907 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.4332, allocations: 108.2 kB / 0.6908 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4333, allocations: 0 / 0.6908 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.4339, allocations: 49.12 kB / 0.6908 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.434, allocations: 22.91 kB / 0.6909 GB, free: 17.87 MB / 494.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.4341, allocations: 118.2 kB / 0.691 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.4342, allocations: 16.3 kB / 0.691 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.4342, allocations: 11.67 kB / 0.691 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4342, allocations: 1.562 kB / 0.691 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4342, allocations: 0 / 0.691 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4343, allocations: 6.188 kB / 0.691 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.4363, allocations: 1.055 MB / 0.692 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4364, allocations: 0 / 0.692 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.4372, allocations: 105.8 kB / 0.6921 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4372, allocations: 5.406 kB / 0.6921 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.4373, allocations: 26.11 kB / 0.6922 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4373, allocations: 0.9062 kB / 0.6922 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4373, allocations: 0.5625 kB / 0.6922 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.4396, allocations: 0.7924 MB / 0.6929 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4397, allocations: 118.2 kB / 0.6931 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.4398, allocations: 1.094 kB / 0.6931 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.4405, allocations: 46.22 kB / 0.6931 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4406, allocations: 30.3 kB / 0.6931 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.4407, allocations: 28.53 kB / 0.6932 GB, free: 16.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.4407, allocations: 79.73 kB / 0.6932 GB, free: 16.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4407, allocations: 3.656 kB / 0.6932 GB, free: 16.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.4411, allocations: 55.33 kB / 0.6933 GB, free: 16.7 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.4413, allocations: 113.6 kB / 0.6934 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.4428, allocations: 430.9 kB / 0.6938 GB, free: 16.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4428, allocations: 0 / 0.6938 GB, free: 16.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.4436, allocations: 218.7 kB / 0.694 GB, free: 16.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.4439, allocations: 21.55 kB / 0.694 GB, free: 16.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.4481, allocations: 0.7628 MB / 0.6948 GB, free: 16.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4483, allocations: 0.6892 MB / 0.6955 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004845/0.4488, allocations: 90.83 kB / 0.6955 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.449, allocations: 53.8 kB / 0.6956 GB, free: 15.48 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.449, allocations: 0 / 0.6956 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Templates: time 0.007762/0.4568, allocations: 3.468 MB / 0.699 GB, free: 15.3 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)