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.001862/0.001862, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002137/0.002137, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 286.3 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.16/1.16, allocations: 178.6 MB / 0.5069 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003713/0.003713, allocations: 105.2 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.168, allocations: 89.15 MB / 0.693 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002036/0.1701, allocations: 0.8466 MB / 0.6938 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.172, allocations: 1.476 MB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.172, allocations: 0 / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.1721, allocations: 3.938 kB / 0.6953 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.1721, allocations: 0 / 0.6953 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.1726, allocations: 125.9 kB / 0.6954 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.1727, allocations: 55.84 kB / 0.6954 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.1728, allocations: 4 kB / 0.6954 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.1728, allocations: 27.91 kB / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.1729, allocations: 31.89 kB / 0.6955 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1729, allocations: 4 kB / 0.6955 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.1734, allocations: 319.4 kB / 0.6958 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.1734, allocations: 15.92 kB / 0.6958 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.1735, allocations: 19.92 kB / 0.6958 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1738, allocations: 219.8 kB / 0.6961 GB, free: 1.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1738, allocations: 3.984 kB / 0.6961 GB, free: 1.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1738, allocations: 0 / 0.6961 GB, free: 1.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1738, allocations: 0 / 0.6961 GB, free: 1.516 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.0006422/0.1745, allocations: 399.4 kB / 0.6964 GB, free: 1.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1745, allocations: 8.031 kB / 0.6964 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.175, allocations: 76.75 kB / 0.6965 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1751, allocations: 164.3 kB / 0.6967 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1751, allocations: 8.375 kB / 0.6967 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1752, allocations: 8.375 kB / 0.6967 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.1755, allocations: 106.7 kB / 0.6968 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1756, allocations: 4 kB / 0.6968 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1756, allocations: 3.938 kB / 0.6968 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1756, allocations: 4 kB / 0.6968 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1761, allocations: 103.9 kB / 0.6969 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.1767, allocations: 340.5 kB / 0.6972 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.1773, allocations: 146.5 kB / 0.6974 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1775, allocations: 64.8 kB / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1776, allocations: 8.078 kB / 0.6974 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1776, allocations: 34.56 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1776, allocations: 0 / 0.6975 GB, free: 15.91 MB / 0.4981 GB 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.01934/0.197, allocations: 2.831 MB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.197, allocations: 59.28 kB / 0.7003 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.1971, allocations: 97.86 kB / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.1972, allocations: 29.7 kB / 0.7004 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.1973, allocations: 92.03 kB / 0.7005 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.1973, allocations: 35.45 kB / 0.7005 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1975, allocations: 73.58 kB / 0.7006 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1977, allocations: 318.8 kB / 0.7009 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.1983, allocations: 187.8 kB / 0.7011 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.199, allocations: 187.8 kB / 0.7013 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2004, allocations: 401.4 kB / 0.7016 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2004, allocations: 0 / 0.7016 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001587/0.202, allocations: 475.7 kB / 0.7021 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.202, allocations: 12 kB / 0.7021 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.202, allocations: 0 / 0.7021 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.202, allocations: 7.984 kB / 0.7021 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.2029, allocations: 99.8 kB / 0.7022 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2029, allocations: 7.938 kB / 0.7022 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.2036, allocations: 43.94 kB / 0.7023 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.2037, allocations: 31.92 kB / 0.7023 GB, free: 10.81 MB / 0.4981 GB 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.0001615/0.2039, allocations: 117.8 kB / 0.7024 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.204, allocations: 7.906 kB / 0.7024 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.204, allocations: 11.97 kB / 0.7024 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.204, allocations: 0 / 0.7024 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.204, allocations: 3.938 kB / 0.7024 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.204, allocations: 0 / 0.7024 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.2064, allocations: 1.051 MB / 0.7035 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.2064, allocations: 4 kB / 0.7035 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.2073, allocations: 103.7 kB / 0.7036 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2073, allocations: 3.938 kB / 0.7036 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.2074, allocations: 23.94 kB / 0.7036 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.2074, allocations: 7.984 kB / 0.7036 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2074, allocations: 0 / 0.7036 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.2098, allocations: 0.7878 MB / 0.7044 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2099, allocations: 121 kB / 0.7045 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.21, allocations: 7.922 kB / 0.7045 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.2108, allocations: 52 kB / 0.7045 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2109, allocations: 27.92 kB / 0.7046 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.2109, allocations: 19.94 kB / 0.7046 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.211, allocations: 83.22 kB / 0.7047 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.211, allocations: 0 / 0.7047 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003732/0.2114, allocations: 56 kB / 0.7047 GB, free: 8.176 MB / 0.4981 GB 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.0002093/0.2116, allocations: 111.2 kB / 0.7048 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.2131, allocations: 431.4 kB / 0.7052 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2131, allocations: 0 / 0.7052 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.2138, allocations: 227.7 kB / 0.7054 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.2142, allocations: 10.66 kB / 0.7055 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.2187, allocations: 0.7792 MB / 0.7062 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2191, allocations: 0.6961 MB / 0.7069 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007109/0.2198, allocations: 92.67 kB / 0.707 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.2201, allocations: 55.3 kB / 0.707 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2201, allocations: 0 / 0.707 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of Templates: time 0.006756/0.2268, allocations: 3.468 MB / 0.7104 GB, free: 2.277 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)